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.
|
org.eclipse.collections.impl.bag.immutable |
This package contains implementations of the
ImmutableBag interface. |
org.eclipse.collections.impl.bimap.immutable | |
org.eclipse.collections.impl.collector | |
org.eclipse.collections.impl.factory |
This package contains static utilities for creating mutable and immutable collection factories.
|
org.eclipse.collections.impl.map.immutable |
This package contains implementations of the
ImmutableMap interface. |
org.eclipse.collections.impl.multimap.set |
This package contains implementations of the
SetMultimap interface. |
org.eclipse.collections.impl.partition.set |
This package contains implementations of the
PartitionSet interface. |
org.eclipse.collections.impl.set.immutable |
This package package contains the implementations of
ImmutableSet . |
org.eclipse.collections.impl.set.mutable |
This package package contains implementations of
MutableSet . |
org.eclipse.collections.impl.set.strategy.immutable |
This package contains implementations of immutable sets with user defined
HashingStrategy s. |
org.eclipse.collections.impl.set.strategy.mutable |
This package contains implementations of sets with user defined
HashingStrategy s. |
org.eclipse.collections.impl.test |
This package contains
SerializeTestHelper and Verify classes. |
org.eclipse.collections.impl.utility.internal |
This package contains static utilities that provide internal iteration pattern implementations which work with JCF collections.
|
Modifier and Type | Method | Description |
---|---|---|
default ImmutableSet<T> |
ImmutableBag.selectUnique() |
|
ImmutableSet<Pair<T,Integer>> |
ImmutableBag.zipWithIndex() |
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
Modifier and Type | Method | 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 | 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 one) |
Same as
ImmutableSetFactory.with(Object) . |
<T> ImmutableSet<T> |
ImmutableSetFactory.of(T... items) |
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 one) |
|
<T> ImmutableSet<T> |
ImmutableSetFactory.with(T... items) |
|
<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 | 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 | Description |
---|---|---|
ImmutableSet<Pair<V,Integer>> |
ImmutableMap.zipWithIndex() |
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
Modifier and Type | Method | Description |
---|---|---|
ImmutableSet<Pair<V,Integer>> |
ImmutablePrimitiveObjectMap.zipWithIndex() |
Deprecated.
in 7.0. Use
OrderedIterable.zipWithIndex() instead. |
Modifier and Type | Method | Description |
---|---|---|
ImmutableSet<V> |
ImmutableSetMultimap.get(K key) |
Modifier and Type | Method | Description |
---|---|---|
ImmutableSet<T> |
PartitionImmutableSet.getRejected() |
|
ImmutableSet<T> |
PartitionImmutableSet.getSelected() |
Modifier and Type | Method | 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> |
MutableSet.toImmutable() |
Returns an immutable copy of this set.
|
ImmutableSet<T> |
UnsortedSetIterable.toImmutable() |
Converts the UnsortedSetIterable to an immutable implementation.
|
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 | 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) |
Modifier and Type | Method | Description |
---|---|---|
ImmutableSet<Pair<T,Integer>> |
ImmutableArrayBag.zipWithIndex() |
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
ImmutableSet<Pair<T,Integer>> |
ImmutableHashBag.zipWithIndex() |
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
Modifier and Type | Method | Description |
---|---|---|
ImmutableSet<V> |
AbstractImmutableBiMap.reject(Predicate<? super V> predicate) |
|
<P> ImmutableSet<V> |
AbstractImmutableBiMap.rejectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
|
ImmutableSet<V> |
AbstractImmutableBiMap.select(Predicate<? super V> predicate) |
|
<S> ImmutableSet<S> |
AbstractImmutableBiMap.selectInstancesOf(Class<S> clazz) |
|
<P> ImmutableSet<V> |
AbstractImmutableBiMap.selectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
|
<S> ImmutableSet<Pair<V,S>> |
AbstractImmutableBiMap.zip(Iterable<S> that) |
Deprecated.
in 8.0. Use
OrderedIterable.zip(Iterable) instead. |
ImmutableSet<Pair<V,Integer>> |
AbstractImmutableBiMap.zipWithIndex() |
Deprecated.
in 8.0. Use
OrderedIterable.zipWithIndex() instead. |
Modifier and Type | Method | Description |
---|---|---|
static <T> Collector<T,?,ImmutableSet<T>> |
Collectors2.toImmutableSet() |
Returns the elements as an ImmutableSet.
|
Modifier and Type | Method | Description |
---|---|---|
static <T> ImmutableSet<T> |
Iterables.iSet() |
|
static <T> ImmutableSet<T> |
Iterables.iSet(T one) |
|
static <T> ImmutableSet<T> |
Iterables.iSet(T... elements) |
|
static <T> ImmutableSet<T> |
Iterables.iSet(T one,
T two) |
|
static <T> ImmutableSet<T> |
Iterables.iSet(T one,
T two,
T three) |
|
static <T> ImmutableSet<T> |
Iterables.iSet(T one,
T two,
T three,
T four) |
Modifier and Type | Method | Description |
---|---|---|
ImmutableSet<Pair<V,Integer>> |
AbstractImmutableMap.zipWithIndex() |
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
Constructor | Description |
---|---|
ImmutableSetMultimapImpl(ImmutableMap<K,ImmutableSet<V>> map) |
|
ImmutableSetMultimapImpl(MutableMap<K,ImmutableSet<V>> map) |
Modifier and Type | Method | Description |
---|---|---|
ImmutableSet<T> |
PartitionImmutableSetImpl.getRejected() |
|
ImmutableSet<T> |
PartitionImmutableSetImpl.getSelected() |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractImmutableSet<T> |
This class is the parent class for all ImmutableSets.
|
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableSet<V> |
AbstractImmutableSet.collect(Function<? super T,? extends V> function) |
|
<V> ImmutableSet<V> |
AbstractImmutableSet.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
|
<P,V> ImmutableSet<V> |
AbstractImmutableSet.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
|
ImmutableSet<T> |
AbstractImmutableSet.difference(SetIterable<? extends T> subtrahendSet) |
|
<T> ImmutableSet<T> |
ImmutableSetFactoryImpl.empty() |
|
<V> ImmutableSet<V> |
AbstractImmutableSet.flatCollect(Function<? super T,? extends Iterable<V>> function) |
|
ImmutableSet<T> |
AbstractImmutableSet.intersect(SetIterable<? extends T> set) |
|
ImmutableSet<T> |
AbstractImmutableSet.newWith(T element) |
|
ImmutableSet<T> |
AbstractImmutableSet.newWithAll(Iterable<? extends T> elements) |
|
ImmutableSet<T> |
AbstractImmutableSet.newWithout(T element) |
|
ImmutableSet<T> |
AbstractImmutableSet.newWithoutAll(Iterable<? extends T> elements) |
|
<T> ImmutableSet<T> |
ImmutableSetFactoryImpl.of() |
|
<T> ImmutableSet<T> |
ImmutableSetFactoryImpl.of(T one) |
|
<T> ImmutableSet<T> |
ImmutableSetFactoryImpl.of(T... items) |
|
<T> ImmutableSet<T> |
ImmutableSetFactoryImpl.of(T one,
T two) |
|
<T> ImmutableSet<T> |
ImmutableSetFactoryImpl.of(T one,
T two,
T three) |
|
<T> ImmutableSet<T> |
ImmutableSetFactoryImpl.of(T one,
T two,
T three,
T four) |
|
<T> ImmutableSet<T> |
ImmutableSetFactoryImpl.ofAll(Iterable<? extends T> items) |
|
ImmutableSet<UnsortedSetIterable<T>> |
AbstractImmutableSet.powerSet() |
|
ImmutableSet<T> |
AbstractImmutableSet.reject(Predicate<? super T> predicate) |
|
<P> ImmutableSet<T> |
AbstractImmutableSet.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
|
ImmutableSet<T> |
AbstractImmutableSet.select(Predicate<? super T> predicate) |
|
<S> ImmutableSet<S> |
AbstractImmutableSet.selectInstancesOf(Class<S> clazz) |
|
<P> ImmutableSet<T> |
AbstractImmutableSet.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
|
ImmutableSet<T> |
AbstractImmutableSet.symmetricDifference(SetIterable<? extends T> setB) |
|
ImmutableSet<T> |
AbstractImmutableSet.tap(Procedure<? super T> procedure) |
|
ImmutableSet<T> |
AbstractImmutableSet.toImmutable() |
|
ImmutableSet<T> |
AbstractImmutableSet.union(SetIterable<? extends T> set) |
|
<T> ImmutableSet<T> |
ImmutableSetFactoryImpl.with() |
|
<T> ImmutableSet<T> |
ImmutableSetFactoryImpl.with(T one) |
|
<T> ImmutableSet<T> |
ImmutableSetFactoryImpl.with(T... items) |
|
<T> ImmutableSet<T> |
ImmutableSetFactoryImpl.with(T one,
T two) |
|
<T> ImmutableSet<T> |
ImmutableSetFactoryImpl.with(T one,
T two,
T three) |
|
<T> ImmutableSet<T> |
ImmutableSetFactoryImpl.with(T one,
T two,
T three,
T four) |
|
<T> ImmutableSet<T> |
ImmutableSetFactoryImpl.withAll(Iterable<? extends T> items) |
|
<S> ImmutableSet<Pair<T,S>> |
AbstractImmutableSet.zip(Iterable<S> that) |
Deprecated.
in 6.0. Use
OrderedIterable.zip(Iterable) instead. |
ImmutableSet<Pair<T,Integer>> |
AbstractImmutableSet.zipWithIndex() |
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
Modifier and Type | Method | Description |
---|---|---|
ImmutableSet<T> |
AbstractMutableSet.toImmutable() |
|
ImmutableSet<T> |
MultiReaderUnifiedSet.toImmutable() |
|
ImmutableSet<T> |
SetAdapter.toImmutable() |
|
ImmutableSet<T> |
SynchronizedMutableSet.toImmutable() |
|
ImmutableSet<T> |
UnifiedSet.toImmutable() |
|
ImmutableSet<T> |
UnmodifiableMutableSet.toImmutable() |
Modifier and Type | Method | Description |
---|---|---|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactoryImpl.of(HashingStrategy<? super T> hashingStrategy) |
|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactoryImpl.of(HashingStrategy<? super T> hashingStrategy,
T... items) |
|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactoryImpl.ofAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items) |
|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactoryImpl.ofInitialCapacity(HashingStrategy<? super T> hashingStrategy,
int capacity) |
|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactoryImpl.with(HashingStrategy<? super T> hashingStrategy) |
|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactoryImpl.with(HashingStrategy<? super T> hashingStrategy,
T... items) |
|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactoryImpl.withAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items) |
|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactoryImpl.withInitialCapacity(HashingStrategy<? super T> hashingStrategy,
int capacity) |
Modifier and Type | Method | Description |
---|---|---|
ImmutableSet<T> |
UnifiedSetWithHashingStrategy.toImmutable() |
Modifier and Type | Method | Description |
---|---|---|
static void |
Verify.assertSize(int expectedSize,
ImmutableSet<?> actualImmutableSet) |
Assert the size of the given
ImmutableSet . |
static void |
Verify.assertSize(String immutableSetName,
int expectedSize,
ImmutableSet<?> actualImmutableSet) |
Assert the size of the given
ImmutableSet . |
Modifier and Type | Method | Description |
---|---|---|
static <T> ImmutableSet<ImmutableSet<T>> |
SetIterables.immutablePowerSet(Set<T> set) |
Returns an Immutable version of powerset where the inner sets are also immutable.
|
Modifier and Type | Method | Description |
---|---|---|
static <T> ImmutableSet<ImmutableSet<T>> |
SetIterables.immutablePowerSet(Set<T> set) |
Returns an Immutable version of powerset where the inner sets are also immutable.
|
Copyright © 2004–2019. All rights reserved.