public class SimpleSequenceIntervalPositionAdapter extends java.lang.Object implements SequenceIntervalPositionAdapter<SimpleSequenceInterval>
SequenceIntervalPositionAdapter
for SimpleSequenceInterval
.Constructor and Description |
---|
SimpleSequenceIntervalPositionAdapter() |
Modifier and Type | Method and Description |
---|---|
int |
compare(SimpleSequenceInterval o1,
SimpleSequenceInterval o2) |
int |
getFirstPos(SimpleSequenceInterval o) |
int |
getLastPos(SimpleSequenceInterval o) |
void |
setFirstPos(SimpleSequenceInterval o,
int newFirstPos) |
void |
setLastPos(SimpleSequenceInterval o,
int newLastPos) |
public SimpleSequenceIntervalPositionAdapter()
public int compare(SimpleSequenceInterval o1, SimpleSequenceInterval o2)
compare
in interface java.util.Comparator<SimpleSequenceInterval>
public int getFirstPos(SimpleSequenceInterval o)
getFirstPos
in interface SequenceIntervalPositionAdapter<SimpleSequenceInterval>
public int getLastPos(SimpleSequenceInterval o)
getLastPos
in interface SequenceIntervalPositionAdapter<SimpleSequenceInterval>
public void setFirstPos(SimpleSequenceInterval o, int newFirstPos)
setFirstPos
in interface SequenceIntervalPositionAdapter<SimpleSequenceInterval>
public void setLastPos(SimpleSequenceInterval o, int newLastPos)
setLastPos
in interface SequenceIntervalPositionAdapter<SimpleSequenceInterval>