|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soot.util.IntegerNumberer
public class IntegerNumberer
A numberer that associates each number with the corresponding Long object.
Constructor Summary | |
---|---|
IntegerNumberer()
|
Method Summary | |
---|---|
void |
add(Object o)
Tells the numberer that a new object needs to be assigned a number. |
Object |
get(long number)
Should return the object that was assigned the number number. |
long |
get(Object o)
Should return the number that was assigned to object o that was previously passed as an argument to add(). |
int |
size()
Should return the number of objects that have been assigned numbers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntegerNumberer()
Method Detail |
---|
public void add(Object o)
add
in interface Numberer
public long get(Object o)
get
in interface Numberer
public Object get(long number)
get
in interface Numberer
public int size()
size
in interface Numberer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |