public class GlobalSubscriptMap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
label1 |
protected java.lang.String |
label2 |
java.util.HashMap<FieldRef,java.lang.Integer> |
table |
protected java.lang.String |
tableName |
Constructor and Description |
---|
GlobalSubscriptMap() |
Modifier and Type | Method and Description |
---|---|
void |
add(FieldRef v1,
java.lang.Integer v2) |
protected GlobalSubscriptMap |
clone() |
java.lang.Integer |
createSubscript(FieldRef fieldRef) |
java.util.Set<FieldRef> |
getKeys() |
int |
lookup(FieldRef key) |
void |
print() |
void |
remove(FieldRef key) |
void |
updateValue(FieldRef fieldRef,
java.lang.Integer p) |
public final java.util.HashMap<FieldRef,java.lang.Integer> table
protected final java.lang.String tableName
protected final java.lang.String label1
protected final java.lang.String label2
public int lookup(FieldRef key)
public void add(FieldRef v1, java.lang.Integer v2)
public void remove(FieldRef key)
public void print()
public java.util.Set<FieldRef> getKeys()
protected GlobalSubscriptMap clone()
clone
in class java.lang.Object
public void updateValue(FieldRef fieldRef, java.lang.Integer p)
public java.lang.Integer createSubscript(FieldRef fieldRef)