|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.util.DateComparator<T>
com.jalios.util.DateDescendingComparator<T>
com.jalios.jstore.BasicStorable.CdateComparator<T>
T - public static class BasicStorable.CdateComparator<T extends Storable>
Compares two Storables using their Cdate in descending order (newest date first). Default to Id Comparison if the 2 Cdate are the equals. Note: this comparator imposes orderings that are inconsistent with equals.
| Field Summary |
|---|
| Fields inherited from class com.jalios.util.DateDescendingComparator |
|---|
REVISION |
| Constructor Summary | |
|---|---|
BasicStorable.CdateComparator()
|
|
| Method Summary | |
|---|---|
int |
compare(T s1,
T s2)
|
| Methods inherited from class com.jalios.util.DateDescendingComparator |
|---|
compareDate |
| 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 |
| Constructor Detail |
|---|
public BasicStorable.CdateComparator()
| Method Detail |
|---|
public int compare(T s1,
T s2)
compare in interface java.util.Comparator<T extends Storable>compare in class DateDescendingComparator<T extends Storable>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||