|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Interface for a generic container.
A container is a collection of elements, each of which is a generic Object. An element can be stored multiple times in a container.
This interface in the "simple" package defines only the basic methods of a container.
RankedSequence,
PriorityQueue,
Dictionary,
Container| Method Summary | |
boolean |
isEmpty()
Tests if the container is empty. |
int |
size()
Return the number of elements stored in the container, where each element is counted according to is multiplicity. |
| Method Detail |
public int size()
public boolean isEmpty()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||