| Package | Description |
|---|---|
| org.eclipse.collections.api.bag |
This package contains interfaces for Bag API.
|
| org.eclipse.collections.api.bimap |
This package contains interfaces for BiMap API.
|
| org.eclipse.collections.api.multimap |
This package contains interfaces for
Multimap. |
| org.eclipse.collections.api.multimap.set |
This package contains interfaces for
SetMultimap. |
| org.eclipse.collections.api.partition.set |
This package contains interfaces for
PartitionSet. |
| 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.
|
| org.eclipse.collections.api.set.sorted |
This package contains interfaces for sorted set API.
|
| Modifier and Type | Method and Description |
|---|---|
SetIterable<T> |
Bag.selectUnique()
Returns a set containing all elements of the bag that have exactly one occurrence.
|
SetIterable<Pair<T,Integer>> |
Bag.zipWithIndex() |
| Modifier and Type | Method and Description |
|---|---|
SetIterable<V> |
BiMap.reject(Predicate<? super V> predicate) |
<P> SetIterable<V> |
BiMap.rejectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
SetIterable<V> |
BiMap.select(Predicate<? super V> predicate) |
<S> SetIterable<S> |
BiMap.selectInstancesOf(Class<S> clazz) |
<P> SetIterable<V> |
BiMap.selectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<S> SetIterable<Pair<V,S>> |
BiMap.zip(Iterable<S> that)
Deprecated.
in 8.0. Use
OrderedIterable.zip(Iterable) instead. |
SetIterable<Pair<V,Integer>> |
BiMap.zipWithIndex()
Deprecated.
in 8.0. Use
OrderedIterable.zipWithIndex() instead. |
| Modifier and Type | Method and Description |
|---|---|
SetIterable<K> |
Multimap.keySet()
Returns an unmodifiable
SetIterable of keys with O(1) complexity. |
| Modifier and Type | Method and Description |
|---|---|
SetIterable<V> |
SetMultimap.get(K key) |
| Modifier and Type | Method and Description |
|---|---|
SetIterable<T> |
PartitionSet.getRejected() |
SetIterable<T> |
PartitionSet.getSelected() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FixedSizeSet<T>
A FixedSizeSet is a set that may be mutated, but cannot grow or shrink in size.
|
interface |
ImmutableSet<T>
ImmutableSet is the non-modifiable equivalent interface to
MutableSet. |
interface |
ImmutableSetIterable<T> |
interface |
MultiReaderSet<T>
A MultiReaderSet provides thread-safe iteration for a set through methods
withReadLockAndDelegate() and withWriteLockAndDelegate(). |
interface |
MutableSet<T>
A MutableSet is an extension java.util.Set which provides methods matching the Smalltalk Collection protocol.
|
interface |
MutableSetIterable<T> |
interface |
UnsortedSetIterable<T>
An iterable whose items are unique.
|
| Modifier and Type | Method and Description |
|---|---|
SetIterable<T> |
SetIterable.difference(SetIterable<? extends T> subtrahendSet)
Returns the set of all members of
this that are not members of subtrahendSet. |
SetIterable<T> |
SetIterable.intersect(SetIterable<? extends T> set)
Returns the set of all objects that are members of both
this and set. |
SetIterable<T> |
SetIterable.reject(Predicate<? super T> predicate) |
<P> SetIterable<T> |
SetIterable.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
SetIterable<T> |
SetIterable.select(Predicate<? super T> predicate) |
<S> SetIterable<S> |
SetIterable.selectInstancesOf(Class<S> clazz) |
<P> SetIterable<T> |
SetIterable.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
SetIterable<T> |
SetIterable.symmetricDifference(SetIterable<? extends T> setB)
Returns the set of all objects that are a member of exactly one of
this and setB (elements which
are in one of the sets, but not in both). |
SetIterable<T> |
SetIterable.tap(Procedure<? super T> procedure) |
SetIterable<T> |
SetIterable.union(SetIterable<? extends T> set)
Returns the set of all objects that are a member of
this or set or both. |
SetIterable<Pair<T,Integer>> |
SetIterable.zipWithIndex()
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
| Modifier and Type | Method and Description |
|---|---|
<B> LazyIterable<Pair<T,B>> |
SetIterable.cartesianProduct(SetIterable<B> 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. |
UnsortedSetIterable<T> |
UnsortedSetIterable.difference(SetIterable<? extends T> subtrahendSet) |
SetIterable<T> |
SetIterable.difference(SetIterable<? extends T> subtrahendSet)
Returns the set of all members of
this that are not members of subtrahendSet. |
MutableSet<T> |
MutableSet.difference(SetIterable<? extends T> subtrahendSet) |
ImmutableSet<T> |
ImmutableSet.difference(SetIterable<? extends T> subtrahendSet) |
<R extends Set<T>> |
SetIterable.differenceInto(SetIterable<? extends T> subtrahendSet,
R targetSet)
Same as
difference(SetIterable) but adds all the objects to targetSet and returns it. |
UnsortedSetIterable<T> |
UnsortedSetIterable.intersect(SetIterable<? extends T> set) |
SetIterable<T> |
SetIterable.intersect(SetIterable<? extends T> set)
Returns the set of all objects that are members of both
this and set. |
MutableSet<T> |
MutableSet.intersect(SetIterable<? extends T> set) |
ImmutableSet<T> |
ImmutableSet.intersect(SetIterable<? extends T> set) |
<R extends Set<T>> |
SetIterable.intersectInto(SetIterable<? extends T> set,
R targetSet)
Same as
intersect(SetIterable) but adds all the objects to targetSet and returns it. |
boolean |
SetIterable.isProperSubsetOf(SetIterable<? extends T> candidateSuperset)
Returns true if all the members of
this are also members of candidateSuperset and the
two sets are not equal. |
boolean |
SetIterable.isSubsetOf(SetIterable<? extends T> candidateSuperset)
Returns true if all the members of
this are also members of candidateSuperset. |
UnsortedSetIterable<T> |
UnsortedSetIterable.symmetricDifference(SetIterable<? extends T> setB) |
SetIterable<T> |
SetIterable.symmetricDifference(SetIterable<? extends T> setB)
Returns the set of all objects that are a member of exactly one of
this and setB (elements which
are in one of the sets, but not in both). |
MutableSet<T> |
MutableSet.symmetricDifference(SetIterable<? extends T> setB) |
ImmutableSet<T> |
ImmutableSet.symmetricDifference(SetIterable<? extends T> setB) |
<R extends Set<T>> |
SetIterable.symmetricDifferenceInto(SetIterable<? extends T> set,
R targetSet)
Same as
symmetricDifference(SetIterable) but adds all the objects to targetSet and returns it. |
UnsortedSetIterable<T> |
UnsortedSetIterable.union(SetIterable<? extends T> set) |
SetIterable<T> |
SetIterable.union(SetIterable<? extends T> set)
Returns the set of all objects that are a member of
this or set or both. |
MutableSet<T> |
MutableSet.union(SetIterable<? extends T> set) |
ImmutableSet<T> |
ImmutableSet.union(SetIterable<? extends T> set) |
<R extends Set<T>> |
SetIterable.unionInto(SetIterable<? extends T> set,
R targetSet)
Same as
union(SetIterable) but adds all the objects to targetSet and returns it. |
| Modifier and Type | Method and Description |
|---|---|
<V> SetIterable<V> |
BooleanSet.collect(BooleanToObjectFunction<? extends V> function) |
<V> SetIterable<V> |
ByteSet.collect(ByteToObjectFunction<? extends V> function) |
<V> SetIterable<V> |
CharSet.collect(CharToObjectFunction<? extends V> function) |
<V> SetIterable<V> |
DoubleSet.collect(DoubleToObjectFunction<? extends V> function) |
<V> SetIterable<V> |
FloatSet.collect(FloatToObjectFunction<? extends V> function) |
<V> SetIterable<V> |
IntSet.collect(IntToObjectFunction<? extends V> function) |
<V> SetIterable<V> |
LongSet.collect(LongToObjectFunction<? extends V> function) |
<V> SetIterable<V> |
ShortSet.collect(ShortToObjectFunction<? extends V> function) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableSortedSet<T>
ImmutableSortedSet is the non-modifiable equivalent interface to
MutableSortedSet. |
interface |
MutableSortedSet<T>
A MutableSortedSet is an implementation of a JCF SortedSet which provides methods matching the Smalltalk Collection
protocol.
|
interface |
SortedSetIterable<T>
An iterable whose items are unique and sorted by some comparator or their natural ordering.
|
| Modifier and Type | Method and Description |
|---|---|
SortedSetIterable<T> |
SortedSetIterable.difference(SetIterable<? extends T> subtrahendSet)
Returns the set of all members of
this that are not members of subtrahendSet. |
MutableSortedSet<T> |
MutableSortedSet.difference(SetIterable<? extends T> subtrahendSet) |
ImmutableSortedSet<T> |
ImmutableSortedSet.difference(SetIterable<? extends T> subtrahendSet) |
SortedSetIterable<T> |
SortedSetIterable.intersect(SetIterable<? extends T> set)
Returns the set of all objects that are members of both
this and set. |
MutableSortedSet<T> |
MutableSortedSet.intersect(SetIterable<? extends T> set) |
ImmutableSortedSet<T> |
ImmutableSortedSet.intersect(SetIterable<? extends T> set) |
SortedSetIterable<T> |
SortedSetIterable.symmetricDifference(SetIterable<? extends T> setB)
Returns the set of all objects that are a member of exactly one of
this and setB (elements which
are in one of the sets, but not in both). |
MutableSortedSet<T> |
MutableSortedSet.symmetricDifference(SetIterable<? extends T> setB) |
ImmutableSortedSet<T> |
ImmutableSortedSet.symmetricDifference(SetIterable<? extends T> setB) |
SortedSetIterable<T> |
SortedSetIterable.union(SetIterable<? extends T> set)
Returns the set of all objects that are a member of
this or set or both. |
MutableSortedSet<T> |
MutableSortedSet.union(SetIterable<? extends T> set) |
ImmutableSortedSet<T> |
ImmutableSortedSet.union(SetIterable<? extends T> set) |
Copyright © 2004–2023. All rights reserved.