public class BrefBlock
extends java.lang.Object
Class BrefBlock represents starting chromosome coordinates and
file offset for the start of a binary reference format (bref) data block.
Instances of class BrefBlock are immutable.
| Constructor | Description |
|---|---|
BrefBlock(int chromIndex,
int pos,
long offset) |
Constructs a
BrefBlock for the specified data. |
| Modifier and Type | Method | Description |
|---|---|---|
int |
chromIndex() |
Returns the chromosome index of the first marker in this bref block.
|
long |
offset() |
Returns the file offset of the first marker in this bref block.
|
int |
pos() |
Returns the chromosome position of the first marker in this bref block.
|
java.lang.String |
toString() |
Returns a string description of
this. |
public BrefBlock(int chromIndex,
int pos,
long offset)
BrefBlock for the specified data. It is the
caller's responsibility to ensure the consistency of the
constructor parameters.chromIndex - the chromosome indexpos - the starting chromosome positionoffset - the file offset in bytes for the bref data blockpublic int chromIndex()
public int pos()
public long offset()
public java.lang.String toString()
this. The exact details
of the representation are unspecified and subject to change.toString in class java.lang.Objectthis