public final class FieldSubscriptMap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
label1 |
protected java.lang.String |
label2 |
java.util.HashMap<FieldRef,SubscriptPair> |
table |
protected java.lang.String |
tableName |
private int |
uniqueNum |
Constructor and Description |
---|
FieldSubscriptMap() |
Modifier and Type | Method and Description |
---|---|
void |
add(FieldRef v1,
SubscriptPair v2) |
protected FieldSubscriptMap |
clone() |
java.util.Set<FieldRef> |
getKeys() |
java.util.ArrayList<FieldRefVarExpr> |
getUniqueFieldAccess() |
SubscriptPair |
lookup(FieldRef key) |
void |
print() |
void |
remove(FieldRef key) |
void |
setUniqueNum(int uniqueNum) |
void |
updateKeys(FieldRef oldKey,
FieldRef newKey) |
void |
updateValue(FieldRef fieldRef,
SubscriptPair p) |
public final java.util.HashMap<FieldRef,SubscriptPair> table
protected final java.lang.String tableName
protected final java.lang.String label1
protected final java.lang.String label2
private int uniqueNum
public SubscriptPair lookup(FieldRef key)
public void add(FieldRef v1, SubscriptPair v2)
public void remove(FieldRef key)
public void print()
public java.util.Set<FieldRef> getKeys()
protected FieldSubscriptMap clone()
clone
in class java.lang.Object
public void updateValue(FieldRef fieldRef, SubscriptPair p)
public void setUniqueNum(int uniqueNum)
public java.util.ArrayList<FieldRefVarExpr> getUniqueFieldAccess() throws StaticRegionException
StaticRegionException