public class PointerKeyComparator extends Object implements Comparator
Constructor and Description |
---|
PointerKeyComparator(IClassHierarchy cha) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object key1,
Object key2) |
protected int |
compareConcreteTypes(IClass k1,
IClass k2) |
protected int |
compareFields(IField if1,
IField if2) |
protected int |
compareInstanceKeys(InstanceKey k1,
InstanceKey k2) |
protected int |
compareOtherKeys(Object key1,
Object key2) |
protected int |
comparePrimitives(TypeReference r1,
TypeReference r2) |
boolean |
equals(Object o) |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public PointerKeyComparator(IClassHierarchy cha)
protected int comparePrimitives(TypeReference r1, TypeReference r2)
protected int compareInstanceKeys(InstanceKey k1, InstanceKey k2)
public int compare(Object key1, Object key2)
compare
in interface Comparator
public boolean equals(Object o)
equals
in interface Comparator
equals
in class Object