Package db.buffers
Class ChangeMap
- java.lang.Object
- 
- db.buffers.ChangeMap
 
- 
 public class ChangeMap extends java.lang.ObjectChangeMapfacilitates the decoding of change-data to determine if a specific buffer was modified by the corresponding buffer file version.- See Also:
- ChangeMapFile
 
- 
- 
Constructor SummaryConstructors Constructor Description ChangeMap(byte[] mapData)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsIndex(int index)Returns true if the specified index is within the bounds of this map.byte[]getData()Get the underlying change map data as a byte arraybooleanhasChanged(int index)Returns true if the change map data indicates that the specified buffer has been modified.
 
- 
- 
- 
Method Detail- 
getDatapublic byte[] getData() Get the underlying change map data as a byte array- Returns:
- change map data
 
 - 
hasChangedpublic boolean hasChanged(int index) Returns true if the change map data indicates that the specified buffer has been modified.- Parameters:
- index- buffer index
 
 - 
containsIndexpublic boolean containsIndex(int index) Returns true if the specified index is within the bounds of this map.
 
- 
 
-