| Constructor and Description |
|---|
MapNumberer() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T o)
Tells the numberer that a new object needs to be assigned a number.
|
boolean |
contains(Object o) |
T |
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().
|
boolean |
remove(T o)
Removes the number for a given object.
|
int |
size()
Should return the number of objects that have been assigned numbers.
|
public void add(T o)
Numbererpublic T get(long number)
Numbererpublic long get(Object o)
Numbererpublic int size()
Numbererpublic boolean contains(Object o)
Copyright © 2020 Soot OSS. All rights reserved.