| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | contains(final Object
element whose presence in this set is to be tested o)Overrides java. Implements java. Returns |
| public boolean | |
| public boolean | equals(final Object
object to be compared for equality with this set o)Overrides java. Implements java. Compares the specified object with this set for equality. |
| public void | |
| public void | |
| public void | |
| public void | forEach(final Consumer<? super E>
The action to be performed for each element action)Overrides default java. Performs the given action for each element of the |
| public int | hashCode()
Overrides java. Implements java. Returns the hash code value for this set. |
| public Iterator | iterator()
Implements abstract java. Implements java. Returns an iterator over the elements in this set. |
| private static IllegalArgumentException | |
| private static IllegalArgumentException | |
| public int | size()
Implements abstract java. Implements java. Returns the number of elements in this set (its cardinality). |
| public <T> T[] | toArray(final IntFunction<T[]>
a function which produces a new array of the desired
type and the provided length generator)Overrides default java. Returns an array containing all of the elements in this collection,
using the provided |
| pack-priv abstract E[] | |
| pack-priv abstract FlagSet |
| value | back to summary |
|---|---|
| pack-priv final int value | |
| FlagSet | back to summary |
|---|---|
| pack-priv FlagSet(final int value) | |
| contains | back to summary |
|---|---|
| public boolean contains(final Object o) Overrides java. Implements java. Doc from java. Returns
| |
| contains | back to summary |
|---|---|
| public boolean contains(final Enum<?> e) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object o) Overrides java. Implements java. Doc from java. Compares the specified object with this set for equality. Returns
This implementation first checks if the specified object is this
set; if so it returns
| |
| forbid | back to summary |
|---|---|
| public void forbid(final E flag) | |
| forbidAll | back to summary |
|---|---|
| public void forbidAll() | |
| forbidAllBut | back to summary |
|---|---|
| public void forbidAllBut(final E flag) | |
| forEach | back to summary |
|---|---|
| public void forEach(final Consumer<? super E> action) Overrides default java. Doc from java. Performs the given action for each element of the The behavior of this method is unspecified if the action performs side-effects that modify the underlying source of elements, unless an overriding class has specified a concurrent modification policy.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements java. Doc from java. Returns the hash code value for this set. The hash code of a set is
defined to be the sum of the hash codes of the elements in the set,
where the hash code of a This implementation iterates over the set, calling the
| |
| 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).
| |
| notAllowed | back to summary |
|---|---|
| private static IllegalArgumentException notAllowed(final FlagSet<?> set) | |
| notAllowed | back to summary |
|---|---|
| private static IllegalArgumentException notAllowed(final Enum<?> flag) | |
| 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
| |
| toArray | back to summary |
|---|---|
| public <T> T[] toArray(final IntFunction<T[]> generator) Overrides default java. Doc from java. Returns an array containing all of the elements in this collection,
using the provided If this collection makes any guarantees as to what order its elements are returned by its iterator, this method must return the elements in the same order.
| |
| values | back to summary |
|---|---|
| pack-priv abstract E[] values() | |
| without | back to summary |
|---|---|
| pack-priv abstract FlagSet | |