| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| UnmodifiableIntSet | back to summary |
|---|---|
| public UnmodifiableIntSet(MutableIntSet set) | |
| asSynchronized | back to summary |
|---|---|
| public MutableIntSet asSynchronized() Implements org.
| |
| asUnmodifiable | back to summary |
|---|---|
| public MutableIntSet 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 Overrides org. 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 IntSet 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. | |
| getMutableIntSet | back to summary |
|---|---|
| private MutableIntSet getMutableIntSet() | |
| 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 MutableIntSet newEmpty() Overrides default org. Doc from org. Creates a new empty mutable version of the same Set type.
| |
| of | back to summary |
|---|---|
| public static UnmodifiableIntSet of(MutableIntSet set) This method will take a MutableIntSet and wrap it directly in a UnmodifiableIntSet. | |
| reject | back to summary |
|---|---|
| public MutableIntSet reject(IntPredicate predicate) Overrides org. Implements org. Doc from org. Returns a new IntIterable with all of the elements in the IntIterable that return false for the specified predicate.
| |
| select | back to summary |
|---|---|
| public MutableIntSet select(IntPredicate predicate) Overrides org. Implements org. Doc from org. Returns a new IntIterable with all of the elements in the IntIterable that return true for the specified predicate.
| |
| toImmutable | back to summary |
|---|---|
| public ImmutableIntSet toImmutable() Implements org. Doc from org. Returns an immutable copy of this set.
| |
| with | back to summary |
|---|---|
| public UnmodifiableIntSet with(int element) Overrides org. Implements org.
| |
| withAll | back to summary |
|---|---|
| public UnmodifiableIntSet withAll(IntIterable elements) Overrides org. Implements org.
| |
| without | back to summary |
|---|---|
| public UnmodifiableIntSet without(int element) Overrides org. Implements org.
| |
| withoutAll | back to summary |
|---|---|
| public UnmodifiableIntSet withoutAll(IntIterable elements) Implements org.
| |