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() |
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 Comparatorpublic boolean equals(Object o)
equals in interface Comparatorequals in class ObjectCopyright © 2015. All rights reserved.