- Type Parameters:
T
- a type of Publication
- All Implemented Interfaces:
- java.util.Comparator<T>
- Enclosing class:
- Publication
public static class Publication.DdateComparator<T extends Publication>
extends BasicStorable.MdateComparator<T>
Compares two Publications using their Ddate in descending order (newest date first).
Default to Mdate Comparison :
- If any ddate of is null.
- If ddate are the equals.
Note: this comparator imposes orderings that are inconsistent with equals.
- Since:
- jcms-5.5.0
- See Also:
BasicStorable.MdateComparator