| 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 |
|---|---|
LongSet |
LongBag.selectUnique()
Returns all elements of the bag that have exactly one occurrence.
|
| Modifier and Type | Method and Description |
|---|---|
LongSet |
UnsortedSetIterable.collectLong(LongFunction<? super T> longFunction) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableLongSet
This file was automatically generated from template file immutablePrimitiveSet.stg.
|
interface |
MutableLongSet
This file was automatically generated from template file mutablePrimitiveSet.stg.
|
| Modifier and Type | Method and Description |
|---|---|
LongSet |
LongSet.difference(LongSet set)
Returns the set of all members of
this that are not members of set. |
LongSet |
LongSet.freeze()
Returns a frozen copy of this set.
|
LongSet |
MutableLongSet.freeze()
Returns a frozen copy of this set.
|
LongSet |
LongSet.intersect(LongSet set)
Returns the set of all objects that are members of both
this and set. |
LongSet |
LongSet.reject(LongPredicate predicate) |
LongSet |
LongSet.select(LongPredicate predicate) |
LongSet |
LongSet.symmetricDifference(LongSet 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 LongSet |
LongSet.tap(LongProcedure procedure) |
LongSet |
LongSet.union(LongSet set) |
| Modifier and Type | Method and Description |
|---|---|
LazyIterable<LongLongPair> |
LongSet.cartesianProduct(LongSet 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. |
LongSet |
LongSet.difference(LongSet set)
Returns the set of all members of
this that are not members of set. |
default MutableLongSet |
MutableLongSet.difference(LongSet set)
Returns the set of all members of
this that are not members of set. |
default ImmutableLongSet |
ImmutableLongSet.difference(LongSet set)
Returns the set of all members of
this that are not members of set. |
LongSet |
LongSet.intersect(LongSet set)
Returns the set of all objects that are members of both
this and set. |
default MutableLongSet |
MutableLongSet.intersect(LongSet set)
Returns the set of all objects that are members of both
this and set. |
default ImmutableLongSet |
ImmutableLongSet.intersect(LongSet set)
Returns the set of all objects that are members of both
this and set. |
default boolean |
LongSet.isProperSubsetOf(LongSet set)
Returns true if all the members of
this are also members of set and the
two sets are not equal. |
default boolean |
LongSet.isSubsetOf(LongSet set)
Returns true if all the members of
this are also members of set. |
LongSet |
LongSet.symmetricDifference(LongSet 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 MutableLongSet |
MutableLongSet.symmetricDifference(LongSet 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 ImmutableLongSet |
ImmutableLongSet.symmetricDifference(LongSet 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). |
LongSet |
LongSet.union(LongSet set) |
default MutableLongSet |
MutableLongSet.union(LongSet set) |
default ImmutableLongSet |
ImmutableLongSet.union(LongSet set) |
Copyright © 2004–2023. All rights reserved.