public class AvailableLoad extends Object implements Comparable<AvailableLoad>
AvailableLoad objects may be used as keys in both hash and tree sets and maps.
ValueNumberAnalysis| Constructor and Description |
|---|
AvailableLoad(ValueNumber reference,
XField field)
Constructor from object reference and instance field.
|
AvailableLoad(XField staticField)
Constructor from static field.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AvailableLoad other) |
boolean |
equals(Object o) |
XField |
getField()
Get the field for which a load is available.
|
ValueNumber |
getReference()
Get the ValueNumber of the object reference.
|
int |
hashCode() |
boolean |
matchesReference(ValueNumber v) |
String |
toString() |
public AvailableLoad(XField staticField)
staticField - the StaticFieldpublic AvailableLoad(ValueNumber reference, XField field)
reference - the ValueNumber of the object referencefield - the InstanceFieldpublic ValueNumber getReference()
public boolean matchesReference(ValueNumber v)
public XField getField()
public int compareTo(AvailableLoad other)
compareTo in interface Comparable<AvailableLoad>Copyright © 2003–2015. All rights reserved.