| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| UnmodifiableShortSet | back to summary |
|---|---|
| public UnmodifiableShortSet(MutableShortSet set) | |
| asSynchronized | back to summary |
|---|---|
| public MutableShortSet asSynchronized() Implements org.
| |
| asUnmodifiable | back to summary |
|---|---|
| public MutableShortSet asUnmodifiable() Implements org.
| |
| boxed | back to summary |
|---|---|
| public MutableSet Implements org.
| |
| cartesianProduct | back to summary |
|---|---|
| public LazyIterable Implements org. Doc from org. Returns the set whose members are all possible ordered pairs (a, b) where a is a member of
| |
| collect | back to summary |
|---|---|
| public <V> MutableSet Implements org. Doc from org. Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object otherSet) Overrides java. Implements org. Doc from org. Follows the same general contract as
| |
| freeze | back to summary |
|---|---|
| public ShortSet freeze() Implements org. Doc from org. Returns a frozen copy of this set. A frozen copy is the same thing as an immutable copy without safe-publish guarantees. | |
| getMutableShortSet | back to summary |
|---|---|
| private MutableShortSet getMutableShortSet() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements org. Doc from org. Follows the same general contract as
| |
| newEmpty | back to summary |
|---|---|
| public MutableShortSet newEmpty() Overrides default org. Doc from org. Creates a new empty mutable version of the same Set type.
| |
| of | back to summary |
|---|---|
| public static UnmodifiableShortSet of(MutableShortSet set) This method will take a MutableShortSet and wrap it directly in a UnmodifiableShortSet. | |
| reject | back to summary |
|---|---|
| public MutableShortSet reject(ShortPredicate predicate) Overrides org. Implements org. Doc from org. Returns a new ShortIterable with all of the elements in the ShortIterable that return false for the specified predicate.
| |
| select | back to summary |
|---|---|
| public MutableShortSet select(ShortPredicate predicate) Overrides org. Implements org. Doc from org. Returns a new ShortIterable with all of the elements in the ShortIterable that return true for the specified predicate.
| |
| toImmutable | back to summary |
|---|---|
| public ImmutableShortSet toImmutable() Implements org. Doc from org. Returns an immutable copy of this set.
| |
| with | back to summary |
|---|---|
| public UnmodifiableShortSet with(short element) Overrides org. Implements org.
| |
| withAll | back to summary |
|---|---|
| public UnmodifiableShortSet withAll(ShortIterable elements) Implements org.
| |
| without | back to summary |
|---|---|
| public UnmodifiableShortSet without(short element) Implements org.
| |
| withoutAll | back to summary |
|---|---|
| public UnmodifiableShortSet withoutAll(ShortIterable elements) Implements org.
| |