public class BlogCacheManager.ReverseDatePostComparator extends Object implements Comparator<BlogCacheManager.Post>
| Constructor and Description |
|---|
ReverseDatePostComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(BlogCacheManager.Post p1,
BlogCacheManager.Post 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 ReverseDatePostComparator()
public int compare(BlogCacheManager.Post p1, BlogCacheManager.Post p2)
compare in interface Comparator<BlogCacheManager.Post>