public final class BlockNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
count
Number of events in block.
|
(package private) int |
len
Block's length value (32-bit words).
|
(package private) int |
place
Place of this block in file/buffer.
|
(package private) int |
pos
Position of block in file/buffer.
|
Constructor and Description |
---|
BlockNode()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
clear()
Clear this object.
|
int |
getCount()
Get the count of events in block.
|
int |
getLen()
Get the block length in words.
|
int |
getPlace()
Get the place of this block in the file or buffer.
|
int |
getPos()
Get the position of this block in the file or buffer.
|
void |
setCount(int count)
Set the number of events in block.
|
void |
setLen(int len)
Set the block length in bytes.
|
void |
setPlace(int place)
Set the place of this block in the file or buffer.
|
void |
setPos(int pos)
Set the position of this block in the file or buffer.
|
java.lang.String |
toString()
Get string representation of this object.
|
int len
int count
int pos
int place
final void clear()
public final int getLen()
public final void setLen(int len)
len
- block length in bytes.public final int getCount()
public final void setCount(int count)
count
- number of events in block.public final int getPos()
public final void setPos(int pos)
pos
- position of this block in the file or buffer.public final int getPlace()
public final void setPlace(int place)
place
- place of this block in the file or buffer.public final java.lang.String toString()
toString
in class java.lang.Object