|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSpanPosComparator
public class SpanPosComparator
Comparator on Span
s that orders them by ascending start position,
then end position.
Field Summary | |
---|---|
static SpanPosComparator |
theInstance
|
Constructor Summary | |
---|---|
private |
SpanPosComparator()
Don't create an instance; the EmptySpans.theInstance . |
Method Summary | |
---|---|
int |
compare(Object o1,
Object o2)
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface Comparator |
---|
equals |
Field Detail |
---|
public static SpanPosComparator theInstance
Constructor Detail |
---|
private SpanPosComparator()
EmptySpans.theInstance
.
Method Detail |
---|
public int compare(Object o1, Object o2)
compare
in interface Comparator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |