- All Implemented Interfaces:
- java.util.Comparator<T>
- Direct Known Subclasses:
- Publication.SdateComparator
- Enclosing class:
- Publication
public static class Publication.PdateComparator<T extends Publication>
extends BasicStorable.CdateComparator<T>
Compares two Publications using their Pdate in descending order (newest date first).
Default to Cdate Comparison if the 2 Pdate are the equals.
Note: this comparator imposes orderings that are inconsistent with equals.
- See Also:
BasicStorable.CdateComparator