- Type Parameters:
T
-
- All Implemented Interfaces:
- java.util.Comparator<T>
- Direct Known Subclasses:
- Publication.DdateComparator
- Enclosing class:
- BasicStorable
public static class BasicStorable.MdateComparator<T extends Storable>
extends java.lang.Object
implements java.util.Comparator<T>
Compares two Storables using their Mdate in descending order (newest date first).
Default to Id Comparison :
- If any Mdate of is null.
- If Mdate are the equals.
Note: this comparator imposes orderings that are inconsistent with equals.