public class FlexGazMappingTable extends Object
Constructor and Description |
---|
FlexGazMappingTable() |
Modifier and Type | Method and Description |
---|---|
void |
add(long originalStart,
long originalEnd,
long tempStart,
long tempEnd) |
void |
dump() |
long |
getBestOriginalEnd(long tempEndOffset)
Find the end offset of the first original annotation
that ends at or after this temporary annotation.
|
long |
getBestOriginalStart(long tempStartOffset)
Find the start offset of the latest original annotation
that starts at or before this temporary annotation.
|
Collection<NodePosition> |
getMappings() |
boolean |
isEmpty() |
int |
size() |
public FlexGazMappingTable()
public Collection<NodePosition> getMappings()
public void add(long originalStart, long originalEnd, long tempStart, long tempEnd)
public int size()
public boolean isEmpty()
public long getBestOriginalStart(long tempStartOffset)
tempStartOffset
- public long getBestOriginalEnd(long tempEndOffset)
tempEndOffset
- public void dump()