public class PointerKeyComparator extends java.lang.Object implements java.util.Comparator<PointerKey>
| Constructor and Description |
|---|
PointerKeyComparator(IClassHierarchy cha) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(PointerKey key1,
PointerKey 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(java.lang.Object key1,
java.lang.Object key2) |
protected int |
comparePrimitives(TypeReference r1,
TypeReference r2) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
public PointerKeyComparator(IClassHierarchy cha)
protected int comparePrimitives(TypeReference r1, TypeReference r2)
protected int compareInstanceKeys(InstanceKey k1, InstanceKey k2)
public int compare(PointerKey key1, PointerKey key2)
compare in interface java.util.Comparator<PointerKey>protected int compareOtherKeys(java.lang.Object key1,
java.lang.Object key2)
public boolean equals(java.lang.Object o)
equals in interface java.util.Comparator<PointerKey>equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object