|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.util.collections.ToStringComparator<T>
public class ToStringComparator<T>
A comparator based on lexicographical ordering of toString()
| Method Summary | ||
|---|---|---|
int |
compare(T o1,
T o2)
|
|
static
|
instance()
|
|
| 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 |
| Method Detail |
|---|
public int compare(T o1,
T o2)
throws java.lang.NullPointerException
compare in interface java.util.Comparator<T>java.lang.NullPointerExceptionpublic static <T> ToStringComparator<T> instance()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||