| Package | Description |
|---|---|
| org.eclipse.collections.api.bag.primitive |
This package contains API for Primitive Bags with Mutable and Immutable variants.
|
| org.eclipse.collections.api.set |
This package contains interfaces for set API which enhance the performance and functionality of
Set. |
| org.eclipse.collections.api.set.primitive |
This package contains API for mutable and immutable primitive sets.
|
| Modifier and Type | Method and Description |
|---|---|
IntSet |
IntBag.selectUnique()
Returns all elements of the bag that have exactly one occurrence.
|
| Modifier and Type | Method and Description |
|---|---|
IntSet |
UnsortedSetIterable.collectInt(IntFunction<? super T> intFunction) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableIntSet
This file was automatically generated from template file immutablePrimitiveSet.stg.
|
interface |
MutableIntSet
This file was automatically generated from template file mutablePrimitiveSet.stg.
|
| Modifier and Type | Method and Description |
|---|---|
IntSet |
IntSet.difference(IntSet set)
Returns the set of all members of
this that are not members of set. |
IntSet |
IntSet.freeze()
Returns a frozen copy of this set.
|
IntSet |
MutableIntSet.freeze()
Returns a frozen copy of this set.
|
IntSet |
IntSet.intersect(IntSet set)
Returns the set of all objects that are members of both
this and set. |
IntSet |
IntSet.reject(IntPredicate predicate) |
IntSet |
IntSet.select(IntPredicate predicate) |
IntSet |
IntSet.symmetricDifference(IntSet set)
Returns the set of all objects that are a member of exactly one of
this and set (elements which
are in one of the sets, but not in both). |
default IntSet |
IntSet.tap(IntProcedure procedure) |
IntSet |
IntSet.union(IntSet set) |
| Modifier and Type | Method and Description |
|---|---|
LazyIterable<IntIntPair> |
IntSet.cartesianProduct(IntSet set)
Returns the set whose members are all possible ordered pairs (a, b) where a is a member of
this and b is a
member of set. |
IntSet |
IntSet.difference(IntSet set)
Returns the set of all members of
this that are not members of set. |
default MutableIntSet |
MutableIntSet.difference(IntSet set)
Returns the set of all members of
this that are not members of set. |
default ImmutableIntSet |
ImmutableIntSet.difference(IntSet set)
Returns the set of all members of
this that are not members of set. |
IntSet |
IntSet.intersect(IntSet set)
Returns the set of all objects that are members of both
this and set. |
default MutableIntSet |
MutableIntSet.intersect(IntSet set)
Returns the set of all objects that are members of both
this and set. |
default ImmutableIntSet |
ImmutableIntSet.intersect(IntSet set)
Returns the set of all objects that are members of both
this and set. |
default boolean |
IntSet.isProperSubsetOf(IntSet set)
Returns true if all the members of
this are also members of set and the
two sets are not equal. |
default boolean |
IntSet.isSubsetOf(IntSet set)
Returns true if all the members of
this are also members of set. |
IntSet |
IntSet.symmetricDifference(IntSet set)
Returns the set of all objects that are a member of exactly one of
this and set (elements which
are in one of the sets, but not in both). |
default MutableIntSet |
MutableIntSet.symmetricDifference(IntSet set)
Returns the set of all objects that are a member of exactly one of
this and set (elements which
are in one of the sets, but not in both). |
default ImmutableIntSet |
ImmutableIntSet.symmetricDifference(IntSet set)
Returns the set of all objects that are a member of exactly one of
this and set (elements which
are in one of the sets, but not in both). |
IntSet |
IntSet.union(IntSet set) |
default MutableIntSet |
MutableIntSet.union(IntSet set) |
default ImmutableIntSet |
ImmutableIntSet.union(IntSet set) |
Copyright © 2004–2023. All rights reserved.