| Modifier and Type | Method and Description |
|---|---|
| public LazyIterable | cartesianProduct(ShortSet set)
Returns the set whose members are all possible ordered pairs (a, b) where a is a member of |
| public <V> SetIterable | collect(ShortToObjectFunction<? extends V> function)
Redeclares org. Returns a new collection with the results of applying the specified function on each element of the source collection. |
| public ShortSet | |
| public boolean | |
| public ShortSet | |
| public int | |
| public ShortSet | |
| public default boolean | isProperSubsetOf(ShortSet set)
Returns true if all the members of |
| public default boolean | |
| public ShortSet | reject(ShortPredicate predicate)
Redeclares org. Returns a new ShortIterable with all of the elements in the ShortIterable that return false for the specified predicate. |
| public ShortSet | select(ShortPredicate predicate)
Redeclares org. Returns a new ShortIterable with all of the elements in the ShortIterable that return true for the specified predicate. |
| public ShortSet | symmetricDifference(ShortSet set)
Returns the set of all objects that are a member of exactly one of |
| public default ShortSet | |
| public ImmutableShortSet | |
| public ShortSet |
| cartesianProduct | back to summary |
|---|---|
| public LazyIterable Returns the set whose members are all possible ordered pairs (a, b) where a is a member of
| |
| collect | back to summary |
|---|---|
| public <V> SetIterable Redeclares 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.
| |
| difference | back to summary |
|---|---|
| public ShortSet difference(ShortSet set) Returns the set of all members of
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Follows the same general contract as
| |
| freeze | back to summary |
|---|---|
| public ShortSet freeze() Returns a frozen copy of this set. If the set is frozen, it returns itself. A frozen copy is the same thing as an immutable copy without safe-publish guarantees. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Follows the same general contract as
| |
| intersect | back to summary |
|---|---|
| public ShortSet intersect(ShortSet set) Returns the set of all objects that are members of both
| |
| isProperSubsetOf | back to summary |
|---|---|
| public default boolean isProperSubsetOf(ShortSet set) Returns true if all the members of
| |
| isSubsetOf | back to summary |
|---|---|
| public default boolean isSubsetOf(ShortSet set) Returns true if all the members of
| |
| reject | back to summary |
|---|---|
| public ShortSet reject(ShortPredicate predicate) Redeclares 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 ShortSet select(ShortPredicate predicate) Redeclares org. Doc from org. Returns a new ShortIterable with all of the elements in the ShortIterable that return true for the specified predicate.
| |
| symmetricDifference | back to summary |
|---|---|
| public ShortSet symmetricDifference(ShortSet set) Returns the set of all objects that are a member of exactly one of
| |
| tap | back to summary |
|---|---|
| public default ShortSet tap(ShortProcedure procedure) Overrides default org.
| |
| toImmutable | back to summary |
|---|---|
| public ImmutableShortSet toImmutable() Returns an immutable copy of this set. If the set is immutable, it returns itself. | |
| union | back to summary |
|---|---|
public ShortSet union(ShortSet set)
| |