public class SpanPosComparator
extends Object
implements Comparator
Span
s that orders them by ascending start position,
then end position.Modifier and Type | Field and Description |
---|---|
static SpanPosComparator |
theInstance |
Modifier | Constructor and Description |
---|---|
private |
SpanPosComparator()
Don't create an instance; the
EmptySpans.theInstance . |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object o1,
Object o2) |
public static SpanPosComparator theInstance
private SpanPosComparator()
EmptySpans.theInstance
.