public class List.PageComparator<P extends Page> extends Object implements Comparator<P>
Constructor and Description |
---|
PageComparator(String prop)
Creates a
PageComparator instance using the
specified property for comparison. |
Modifier and Type | Method and Description |
---|---|
int |
compare(P p1,
P p2) |
equals, 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 PageComparator(String prop)
PageComparator
instance using the
specified property for comparison.prop
- The name of the propertyCopyright © 2010 - 2020 Adobe. All Rights Reserved