Class ToStringComparator<T>
java.lang.Object
com.ibm.wala.util.collections.ToStringComparator<T>
- All Implemented Interfaces:
Comparator<T>
A comparator based on lexicographical ordering of toString()
-
Method Summary
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T>
- Throws:
NullPointerException
-
instance
-