Package org.ametys.plugins.blog
Class BlogCacheManager.ReverseDatePostComparator
- java.lang.Object
-
- org.ametys.plugins.blog.BlogCacheManager.ReverseDatePostComparator
-
- All Implemented Interfaces:
Comparator<BlogCacheManager.Post>
- Enclosing class:
- BlogCacheManager
public class BlogCacheManager.ReverseDatePostComparator extends Object implements Comparator<BlogCacheManager.Post>
Reverse date post comparator.
-
-
Constructor Summary
Constructors Constructor Description ReverseDatePostComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(BlogCacheManager.Post p1, BlogCacheManager.Post p2)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
ReverseDatePostComparator
public ReverseDatePostComparator()
-
-
Method Detail
-
compare
public int compare(BlogCacheManager.Post p1, BlogCacheManager.Post p2)
- Specified by:
compare
in interfaceComparator<BlogCacheManager.Post>
-
-