public class Block
extends java.lang.Object
Constructor and Description |
---|
Block(long startPosition,
long size) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
long |
getEndPosition() |
long |
getSize() |
long |
getStartPosition() |
void |
setEndPosition(long endPosition)
This method is used to aid in consolidating blocks.
|
public Block(long startPosition, long size)
startPosition
- in bytessize
- in bytespublic long getStartPosition()
public long getEndPosition()
public void setEndPosition(long endPosition)
endPosition
endPosition
- Where the block ends, in bytespublic long getSize()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object