T
- public abstract class SequenceIntervalPositionAdapterForComparable<T extends Comparable<? super T>> extends Object implements SequenceIntervalPositionAdapter<T>
SequenceIntervalPositionAdapter
to be used with elements that already implement the
Comparable
interface.Constructor and Description |
---|
SequenceIntervalPositionAdapterForComparable() |
Modifier and Type | Method and Description |
---|---|
int |
compare(T o1,
T o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFirstPos, getLastPos, setFirstPos, setLastPos
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public SequenceIntervalPositionAdapterForComparable()
public int compare(T o1, T o2)
compare
in interface Comparator<T extends Comparable<? super T>>