java.util.Comparatorpublic final class TypeComparator
extends java.lang.Object
implements java.util.Comparator
| Modifier and Type | Field | Description |
|---|---|---|
static boolean |
DEBUG |
| Constructor | Description |
|---|---|
TypeComparator(EditorContext context) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2) |
Returns a negative value if o1 < o2 (t1 is a subclass of t2).
|
boolean |
equals(java.lang.Object other) |
Indicates whether some other object is "equal to" this Comparator.
|
public TypeComparator(EditorContext context)
public int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparatorpublic boolean equals(java.lang.Object other)
equals in interface java.util.Comparatorequals in class java.lang.Object