Package soot.util
Class IntegerNumberer
- java.lang.Object
-
- soot.util.IntegerNumberer
-
-
Constructor Summary
Constructors Constructor Description IntegerNumberer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Long o)Tells the numberer that a new object needs to be assigned a number.Longget(long number)Should return the object that was assigned the number number.longget(Long o)Should return the number that was assigned to object o that was previously passed as an argument to add().booleanremove(Long o)Removes the number for a given object.intsize()Should return the number of objects that have been assigned numbers.
-
-
-
Method Detail
-
add
public void add(Long o)
Tells the numberer that a new object needs to be assigned a number.
-
get
public long get(Long o)
Should return the number that was assigned to object o that was previously passed as an argument to add().
-
get
public Long get(long number)
Should return the object that was assigned the number number.
-
size
public int size()
Should return the number of objects that have been assigned numbers.
-
-