| Modifier and Type | Field and Description |
|---|---|
| pack-priv SelectionKey[] | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(SelectionKey
element to be added to this set o)Overrides java. Implements java. |
| public boolean | contains(Object
element whose presence in this set is to be tested o)Overrides java. Implements java. true if this set contains the specified element.
|
| private void | |
| public Iterator | iterator()
Implements abstract java. Implements java. |
| public boolean | remove(Object
object to be removed from this set, if present o)Overrides java. Implements java. |
| pack-priv void | |
| pack-priv void | |
| public int | size()
Implements abstract java. Implements java. |
| keys | back to summary |
|---|---|
| pack-priv SelectionKey[] keys | |
| size | back to summary |
|---|---|
| pack-priv int size | |
| SelectedSelectionKeySet | back to summary |
|---|---|
| pack-priv SelectedSelectionKeySet() | |
| add | back to summary |
|---|---|
| public boolean add(SelectionKey o) Overrides java. Implements java. Doc from java. Adds the specified element to this set if it is not already present
(optional operation). More formally, adds the specified element
The stipulation above does not imply that sets must accept all
elements; sets may refuse to add any particular element, including
| |
| contains | back to summary |
|---|---|
| public boolean contains(Object o) Overrides java. Implements java. Doc from java. Returns | |
| increaseCapacity | back to summary |
|---|---|
| private void increaseCapacity() | |
| iterator | back to summary |
|---|---|
| public Iterator Implements abstract java. Implements java. Doc from java. Returns an iterator over the elements in this set. The elements are returned in no particular order (unless this set is an instance of some class that provides a guarantee).
| |
| remove | back to summary |
|---|---|
| public boolean remove(Object o) Overrides java. Implements java. Doc from java. Removes the specified element from this set if it is present
(optional operation). More formally, removes an element | |
| reset | back to summary |
|---|---|
| pack-priv void reset() | |
| reset | back to summary |
|---|---|
| pack-priv void reset(int start) | |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this set (its cardinality). If this
set contains more than
| |