public class PageTimeComparator extends Object implements Comparator<WikiPage>, 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(WikiPage w1,
WikiPage w2) |
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-2019 The Apache Software Foundation. All rights reserved.