org.opengts.extra.util
Class MemCache.MemEntryComparator<KEY,VAL>
java.lang.Object
org.opengts.extra.util.MemCache.MemEntryComparator<KEY,VAL>
- All Implemented Interfaces:
- java.util.Comparator<MemCache.MemEntry<KEY,VAL>>
- Enclosing class:
- MemCache<KEY,VAL>
public static class MemCache.MemEntryComparator<KEY,VAL>
- extends java.lang.Object
- implements java.util.Comparator<MemCache.MemEntry<KEY,VAL>>
Class MemEntryComparator (used for debugging only)
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemCache.MemEntryComparator
public MemCache.MemEntryComparator()
MemCache.MemEntryComparator
public MemCache.MemEntryComparator(boolean ascending)
compare
public int compare(MemCache.MemEntry<KEY,VAL> o1,
MemCache.MemEntry<KEY,VAL> o2)
- Specified by:
compare
in interface java.util.Comparator<MemCache.MemEntry<KEY,VAL>>
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals
in interface java.util.Comparator<MemCache.MemEntry<KEY,VAL>>
- Overrides:
equals
in class java.lang.Object