public class PageTimeComparator extends Object implements Comparator<Page>, Serializable
If the lastModified date is the same, then the next key is the page name. If the page name is also equal, then returns 0 for equality.
| Constructor and Description |
|---|
PageTimeComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Page p1,
Page p2) |
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 PageTimeComparator()
Copyright © 2001-2020 The Apache Software Foundation. All rights reserved.