|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AllocateLowestNumber
A set that associates an number with each of member. Objects added to the set are allocated the lowest available number, starting at 0.
| Nested Class Summary | |
|---|---|
static interface |
AllocateLowestNumber.IteratorCallback
Iteration callback, see forEach(net.grinder.util.AllocateLowestNumber.IteratorCallback). |
| Method Summary | |
|---|---|
int |
add(Object o)
Add a new object. |
void |
forEach(AllocateLowestNumber.IteratorCallback iteratorCallback)
Call iteratorCallback for each member of the set. |
void |
remove(Object o)
Remove an object from the set. |
| Method Detail |
|---|
int add(Object o)
o - The object.
void remove(Object o)
o - The object.void forEach(AllocateLowestNumber.IteratorCallback iteratorCallback)
iteratorCallback for each member of the set.
iteratorCallback - Called for each member of the set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||