Uses of Interface
org.eclipse.collections.api.set.ImmutableSet
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains interfaces for Bag API.
This package contains interfaces for BiMap API.
This package contains Factory API for
ImmutableHashingStrategySetFactory
and MutableHashingStrategySetFactory
.This package contains interfaces for map API which enhance the performance and functionality of
Map
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
This package contains interfaces for
SetMultimap
.This package contains interfaces for
PartitionSet
.This package contains interfaces for set API which enhance the performance and functionality of
Set
.This package contains API for mutable and immutable primitive sets.
This package contains implementations of the
ImmutableBag
interface.This package contains implementations of the
MutableCollection
interface.This package contains static utilities for creating mutable and immutable collection factories.
This package contains implementations of the
ImmutableMap
interface.This package contains implementations of the mutable primitive-primitive, primitive-object and object-primitive map interfaces.
This package contains implementations of the
SetMultimap
interface.This package contains implementations of the
PartitionSet
interface.This package contains the implementations of
ImmutableSet
.This package contains implementations of
MutableSet
.This package contains implementations of immutable sets with user defined
HashingStrategy
s.This package contains implementations of sets with user defined
HashingStrategy
s.This package contains
SerializeTestHelper
and Verify
classes.This package contains static utilities that provide internal iteration pattern implementations which work with JCF collections.
-
Uses of ImmutableSet in org.eclipse.collections.api
Modifier and TypeMethodDescriptiondefault ImmutableSet<T>
RichIterable.toImmutableSet()
Converts the RichIterable to the default ImmutableSet implementation. -
Uses of ImmutableSet in org.eclipse.collections.api.bag
Modifier and TypeMethodDescriptiondefault ImmutableSet<T>
ImmutableBag.selectUnique()
ImmutableBag.zipWithIndex()
Deprecated.in 6.0. -
Uses of ImmutableSet in org.eclipse.collections.api.bimap
Modifier and TypeMethodDescription<P> ImmutableSet<V>
ImmutableBiMap.rejectWith
(Predicate2<? super V, ? super P> predicate, P parameter) <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>> Deprecated.in 8.0.ImmutableBiMap.zipWithIndex()
Deprecated.in 8.0. -
Uses of ImmutableSet in org.eclipse.collections.api.factory.set
Modifier and TypeMethodDescription<T> ImmutableSet<T>
ImmutableSetFactory.empty()
default <T> ImmutableSet<T>
ImmutableSetFactory.fromStream
(Stream<? extends T> stream) <T> ImmutableSet<T>
ImmutableSetFactory.of()
Same asImmutableSetFactory.empty()
.<T> ImmutableSet<T>
ImmutableSetFactory.of
(T one) Same asImmutableSetFactory.with(Object)
.<T> ImmutableSet<T>
ImmutableSetFactory.of
(T... items) Same asImmutableSetFactory.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>
<T> ImmutableSet<T>
ImmutableSetFactory.with()
Same asImmutableSetFactory.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>
-
Uses of ImmutableSet in org.eclipse.collections.api.factory.set.strategy
Modifier and TypeMethodDescription<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) -
Uses of ImmutableSet in org.eclipse.collections.api.map
-
Uses of ImmutableSet in org.eclipse.collections.api.map.primitive
-
Uses of ImmutableSet in org.eclipse.collections.api.multimap.set
Modifier and TypeMethodDescriptionvoid
ImmutableSetMultimap.forEachKeyImmutableSet
(Procedure2<? super K, ? super ImmutableSet<V>> procedure) -
Uses of ImmutableSet in org.eclipse.collections.api.partition.set
Modifier and TypeMethodDescriptionPartitionImmutableSet.getRejected()
PartitionImmutableSet.getSelected()
-
Uses of ImmutableSet in org.eclipse.collections.api.set
Modifier and TypeMethodDescription<V> ImmutableSet<V>
<V> ImmutableSet<V>
<P,
V> ImmutableSet<V> ImmutableSet.collectWith
(Function2<? super T, ? super P, ? extends V> function, P parameter) 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.intersect
(SetIterable<? extends T> set) ImmutableSet.newWithAll
(Iterable<? extends T> elements) ImmutableSet.newWithout
(T element) ImmutableSet.newWithoutAll
(Iterable<? extends T> elements) ImmutableSet.powerSet()
<P> ImmutableSet<T>
ImmutableSet.rejectWith
(Predicate2<? super T, ? super P> predicate, P parameter) <S> ImmutableSet<S>
ImmutableSet.selectInstancesOf
(Class<S> clazz) <P> ImmutableSet<T>
ImmutableSet.selectWith
(Predicate2<? super T, ? super P> predicate, P parameter) ImmutableSet.symmetricDifference
(SetIterable<? extends T> setB) MutableSet.toImmutable()
Returns an immutable copy of this set.UnsortedSetIterable.toImmutable()
Converts the UnsortedSetIterable to an immutable implementation.default ImmutableSet<T>
ImmutableSet.toImmutableSet()
Overrides toImmutableSet in RichIterable to return this.default ImmutableSet<T>
MutableSet.toImmutableSet()
Converts the MutableSet to the default ImmutableSet implementation.ImmutableSet.union
(SetIterable<? extends T> set) <S> ImmutableSet<Pair<T,
S>> Deprecated.in 6.0.ImmutableSet.zipWithIndex()
Deprecated.in 6.0. -
Uses of ImmutableSet in org.eclipse.collections.api.set.primitive
Modifier and TypeMethodDescription<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) -
Uses of ImmutableSet in org.eclipse.collections.impl.bag.immutable
Modifier and TypeMethodDescriptionImmutableArrayBag.zipWithIndex()
Deprecated.in 6.0.ImmutableHashBag.zipWithIndex()
Deprecated.in 6.0. -
Uses of ImmutableSet in org.eclipse.collections.impl.bimap.immutable
Modifier and TypeMethodDescription<P> ImmutableSet<V>
AbstractImmutableBiMap.rejectWith
(Predicate2<? super V, ? super P> predicate, P parameter) <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>> Deprecated.in 8.0.AbstractImmutableBiMap.zipWithIndex()
Deprecated.in 8.0. -
Uses of ImmutableSet in org.eclipse.collections.impl.collection
-
Uses of ImmutableSet in org.eclipse.collections.impl.collection.mutable
-
Uses of ImmutableSet in org.eclipse.collections.impl.collector
Modifier and TypeMethodDescriptionstatic <T> Collector<T,
?, ImmutableSet<T>> Collectors2.toImmutableSet()
Returns the elements as an ImmutableSet. -
Uses of ImmutableSet in org.eclipse.collections.impl.factory
Modifier and TypeMethodDescriptionstatic <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) -
Uses of ImmutableSet in org.eclipse.collections.impl.map.immutable
-
Uses of ImmutableSet in org.eclipse.collections.impl.map.mutable.primitive
Modifier and TypeMethodDescriptionSynchronizedByteObjectMap.toImmutableSet()
SynchronizedCharObjectMap.toImmutableSet()
SynchronizedDoubleObjectMap.toImmutableSet()
SynchronizedFloatObjectMap.toImmutableSet()
SynchronizedIntObjectMap.toImmutableSet()
SynchronizedLongObjectMap.toImmutableSet()
SynchronizedShortObjectMap.toImmutableSet()
-
Uses of ImmutableSet in org.eclipse.collections.impl.multimap.set
Modifier and TypeMethodDescriptionvoid
ImmutableSetMultimapImpl.forEachKeyImmutableSet
(Procedure2<? super K, ? super ImmutableSet<V>> procedure) ModifierConstructorDescription -
Uses of ImmutableSet in org.eclipse.collections.impl.partition.set
Modifier and TypeMethodDescriptionPartitionImmutableSetImpl.getRejected()
PartitionImmutableSetImpl.getSelected()
-
Uses of ImmutableSet in org.eclipse.collections.impl.set.immutable
Modifier and TypeClassDescriptionclass
This class is the parent class for all ImmutableSets.Modifier and TypeMethodDescription<V> ImmutableSet<V>
<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) AbstractImmutableSet.difference
(SetIterable<? extends T> subtrahendSet) <T> ImmutableSet<T>
ImmutableSetFactoryImpl.empty()
<V> ImmutableSet<V>
AbstractImmutableSet.flatCollect
(Function<? super T, ? extends Iterable<V>> function) AbstractImmutableSet.intersect
(SetIterable<? extends T> set) AbstractImmutableSet.newWithAll
(Iterable<? extends T> elements) AbstractImmutableSet.newWithout
(T element) 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>
AbstractImmutableSet.powerSet()
<P> ImmutableSet<T>
AbstractImmutableSet.rejectWith
(Predicate2<? super T, ? super P> predicate, P parameter) <S> ImmutableSet<S>
AbstractImmutableSet.selectInstancesOf
(Class<S> clazz) <P> ImmutableSet<T>
AbstractImmutableSet.selectWith
(Predicate2<? super T, ? super P> predicate, P parameter) AbstractImmutableSet.symmetricDifference
(SetIterable<? extends T> setB) AbstractImmutableSet.toImmutable()
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>
<S> ImmutableSet<Pair<T,
S>> Deprecated.in 6.0.AbstractImmutableSet.zipWithIndex()
Deprecated.in 6.0. -
Uses of ImmutableSet in org.eclipse.collections.impl.set.mutable
Modifier and TypeMethodDescriptionAbstractMutableSet.toImmutable()
MultiReaderUnifiedSet.toImmutable()
SetAdapter.toImmutable()
SynchronizedMutableSet.toImmutable()
UnifiedSet.toImmutable()
UnmodifiableMutableSet.toImmutable()
-
Uses of ImmutableSet in org.eclipse.collections.impl.set.strategy.immutable
Modifier and TypeMethodDescription<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) -
Uses of ImmutableSet in org.eclipse.collections.impl.set.strategy.mutable
-
Uses of ImmutableSet in org.eclipse.collections.impl.test
Modifier and TypeMethodDescriptionstatic void
Verify.assertSize
(int expectedSize, ImmutableSet<?> actualImmutableSet) Assert the size of the givenImmutableSet
.static void
Verify.assertSize
(String immutableSetName, int expectedSize, ImmutableSet<?> actualImmutableSet) Assert the size of the givenImmutableSet
. -
Uses of ImmutableSet in org.eclipse.collections.impl.utility.internal
Modifier and TypeMethodDescriptionstatic <T> ImmutableSet<ImmutableSet<T>>
SetIterables.immutablePowerSet
(Set<T> set) Returns an Immutable version of powerset where the inner sets are also immutable.Modifier and TypeMethodDescriptionstatic <T> ImmutableSet<ImmutableSet<T>>
SetIterables.immutablePowerSet
(Set<T> set) Returns an Immutable version of powerset where the inner sets are also immutable.