|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Group<E>
Interface representing a group of unique elements.
Method Summary | |
---|---|
boolean |
add(E element)
Adds an element to the group. |
boolean |
contains(E element)
Tests the existence of an element in the group. |
boolean |
remove(E element)
Removes an element from the group. |
Method Detail |
---|
boolean add(E element)
element
- The element to add to the group.
boolean remove(E element)
element
- The element to remove from the set.
boolean contains(E element)
element
- The element whose presence in the group is to be tested.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |