public class TextPositionComparator extends Object implements Comparator<TextPosition>
Constructor and Description |
---|
TextPositionComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(TextPosition pos1,
TextPosition pos2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(TextPosition pos1, TextPosition pos2)
compare
in interface Comparator<TextPosition>
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.