|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.util.InsertedOrderComparator
public class InsertedOrderComparator
This class is intended to be used with either SortedSets or SortedMaps. The keys will be sorted on the order which they are inserted (and hence compared). Caveat: If an item is removed and readded, it will retain the old order
Constructor Summary | |
---|---|
InsertedOrderComparator()
Deprecated. |
Method Summary | |
---|---|
int |
compare(java.lang.String a1,
java.lang.String a2)
Deprecated. |
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 InsertedOrderComparator()
Method Detail |
---|
public int compare(java.lang.String a1, java.lang.String a2)
compare
in interface java.util.Comparator<java.lang.String>
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |