| 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.factory.set | |
| org.eclipse.collections.api.factory.set.strategy |
This package contains Factory API for
ImmutableHashingStrategySetFactory and MutableHashingStrategySetFactory. |
| org.eclipse.collections.api.map |
This package contains interfaces for map API which enhance the performance and functionality of
Map |
| org.eclipse.collections.api.map.primitive |
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
default ImmutableSet<T> |
ImmutableBag.selectUnique() |
ImmutableSet<Pair<T,Integer>> |
ImmutableBag.zipWithIndex()
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSet<V> |
ImmutableBiMap.reject(Predicate<? super V> predicate) |
<P> ImmutableSet<V> |
ImmutableBiMap.rejectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
ImmutableSet<V> |
ImmutableBiMap.select(Predicate<? super V> predicate) |
<S> ImmutableSet<S> |
ImmutableBiMap.selectInstancesOf(Class<S> clazz) |
<P> ImmutableSet<V> |
ImmutableBiMap.selectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<S> ImmutableSet<Pair<V,S>> |
ImmutableBiMap.zip(Iterable<S> that)
Deprecated.
in 8.0. Use
OrderedIterable.zip(Iterable) instead. |
ImmutableSet<Pair<V,Integer>> |
ImmutableBiMap.zipWithIndex()
Deprecated.
in 8.0. Use
OrderedIterable.zipWithIndex() instead. |
| Modifier and Type | Method and Description |
|---|---|
<T> ImmutableSet<T> |
ImmutableSetFactory.empty() |
default <T> ImmutableSet<T> |
ImmutableSetFactory.fromStream(Stream<? extends T> stream) |
<T> ImmutableSet<T> |
ImmutableSetFactory.of()
Same as
ImmutableSetFactory.empty(). |
<T> ImmutableSet<T> |
ImmutableSetFactory.of(T... items)
Same as
ImmutableSetFactory.with(Object[]). |
<T> ImmutableSet<T> |
ImmutableSetFactory.of(T one)
Same as
ImmutableSetFactory.with(Object). |
<T> ImmutableSet<T> |
ImmutableSetFactory.of(T one,
T two)
|
<T> ImmutableSet<T> |
ImmutableSetFactory.of(T one,
T two,
T three)
|
<T> ImmutableSet<T> |
ImmutableSetFactory.of(T one,
T two,
T three,
T four)
|
<T> ImmutableSet<T> |
ImmutableSetFactory.ofAll(Iterable<? extends T> items)
|
<T> ImmutableSet<T> |
ImmutableSetFactory.with()
Same as
ImmutableSetFactory.empty(). |
<T> ImmutableSet<T> |
ImmutableSetFactory.with(T... items) |
<T> ImmutableSet<T> |
ImmutableSetFactory.with(T one) |
<T> ImmutableSet<T> |
ImmutableSetFactory.with(T one,
T two) |
<T> ImmutableSet<T> |
ImmutableSetFactory.with(T one,
T two,
T three) |
<T> ImmutableSet<T> |
ImmutableSetFactory.with(T one,
T two,
T three,
T four) |
<T> ImmutableSet<T> |
ImmutableSetFactory.withAll(Iterable<? extends T> items) |
| Modifier and Type | Method and Description |
|---|---|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactory.of(HashingStrategy<? super T> hashingStrategy)
|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactory.of(HashingStrategy<? super T> hashingStrategy,
T... items)
|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactory.ofAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items)
|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactory.ofInitialCapacity(HashingStrategy<? super T> hashingStrategy,
int capacity)
|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactory.with(HashingStrategy<? super T> hashingStrategy) |
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactory.with(HashingStrategy<? super T> hashingStrategy,
T... items) |
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactory.withAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items) |
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactory.withInitialCapacity(HashingStrategy<? super T> hashingStrategy,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSet<Pair<V,Integer>> |
ImmutableMap.zipWithIndex()
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSet<Pair<V,Integer>> |
ImmutablePrimitiveObjectMap.zipWithIndex()
Deprecated.
in 7.0. Use
OrderedIterable.zipWithIndex() instead. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSet<V> |
ImmutableSetMultimap.get(K key) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSet<T> |
PartitionImmutableSet.getRejected() |
ImmutableSet<T> |
PartitionImmutableSet.getSelected() |
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableSet<V> |
ImmutableSet.collect(Function<? super T,? extends V> function) |
<V> ImmutableSet<V> |
ImmutableSet.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<P,V> ImmutableSet<V> |
ImmutableSet.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
ImmutableSet<T> |
ImmutableSet.difference(SetIterable<? extends T> subtrahendSet) |
<V> ImmutableSet<V> |
ImmutableSet.flatCollect(Function<? super T,? extends Iterable<V>> function) |
default <P,V> ImmutableSet<V> |
ImmutableSet.flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function,
P parameter) |
ImmutableSet<T> |
ImmutableSet.intersect(SetIterable<? extends T> set) |
ImmutableSet<T> |
ImmutableSet.newWith(T element) |
ImmutableSet<T> |
ImmutableSet.newWithAll(Iterable<? extends T> elements) |
ImmutableSet<T> |
ImmutableSet.newWithout(T element) |
ImmutableSet<T> |
ImmutableSet.newWithoutAll(Iterable<? extends T> elements) |
ImmutableSet<UnsortedSetIterable<T>> |
ImmutableSet.powerSet() |
ImmutableSet<T> |
ImmutableSet.reject(Predicate<? super T> predicate) |
<P> ImmutableSet<T> |
ImmutableSet.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
ImmutableSet<T> |
ImmutableSet.select(Predicate<? super T> predicate) |
<S> ImmutableSet<S> |
ImmutableSet.selectInstancesOf(Class<S> clazz) |
<P> ImmutableSet<T> |
ImmutableSet.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
ImmutableSet<T> |
ImmutableSet.symmetricDifference(SetIterable<? extends T> setB) |
ImmutableSet<T> |
ImmutableSet.tap(Procedure<? super T> procedure) |
ImmutableSet<T> |
UnsortedSetIterable.toImmutable()
Converts the UnsortedSetIterable to an immutable implementation.
|
ImmutableSet<T> |
MutableSet.toImmutable()
Returns an immutable copy of this set.
|
ImmutableSet<T> |
ImmutableSet.union(SetIterable<? extends T> set) |
<S> ImmutableSet<Pair<T,S>> |
ImmutableSet.zip(Iterable<S> that)
Deprecated.
in 6.0. Use
OrderedIterable.zip(Iterable) instead. |
ImmutableSet<Pair<T,Integer>> |
ImmutableSet.zipWithIndex()
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableSet<V> |
ImmutableBooleanSet.collect(BooleanToObjectFunction<? extends V> function) |
<V> ImmutableSet<V> |
ImmutableByteSet.collect(ByteToObjectFunction<? extends V> function) |
<V> ImmutableSet<V> |
ImmutableCharSet.collect(CharToObjectFunction<? extends V> function) |
<V> ImmutableSet<V> |
ImmutableDoubleSet.collect(DoubleToObjectFunction<? extends V> function) |
<V> ImmutableSet<V> |
ImmutableFloatSet.collect(FloatToObjectFunction<? extends V> function) |
<V> ImmutableSet<V> |
ImmutableIntSet.collect(IntToObjectFunction<? extends V> function) |
<V> ImmutableSet<V> |
ImmutableLongSet.collect(LongToObjectFunction<? extends V> function) |
<V> ImmutableSet<V> |
ImmutableShortSet.collect(ShortToObjectFunction<? extends V> function) |
Copyright © 2004–2020. All rights reserved.