| Constructor and Description |
|---|
IntegerNumberer() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Long o)
Tells the numberer that a new object needs to be assigned a number.
|
Long |
get(long number)
Should return the object that was assigned the number number.
|
long |
get(Long o)
Should return the number that was assigned to object o that was previously passed as an argument to add().
|
boolean |
remove(Long o)
Removes the number for a given object.
|
int |
size()
Should return the number of objects that have been assigned numbers.
|
public void add(Long o)
public long get(Long o)
public Long get(long number)
public int size()
Copyright © 2020 Soot OSS. All rights reserved.