public class TextPartComparator extends Object implements Comparator<TextPart>
| Constructor and Description |
|---|
TextPartComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(TextPart orig,
TextPart trans)
Match on id and type (segment or not) or TextFragment.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(TextPart orig, TextPart trans)
compare in interface Comparator<TextPart>Copyright © 2022. All rights reserved.