| Package | Description |
|---|---|
| com.gs.collections.api |
This package contains interfaces for GS Collections API.
|
| com.gs.collections.api.bag |
This package contains interfaces for Bag API.
|
| com.gs.collections.api.factory.set | |
| com.gs.collections.api.factory.set.strategy |
This package contains Factory API for
ImmutableHashingStrategySetFactory and MutableHashingStrategySetFactory. |
| com.gs.collections.api.map.sorted |
This package contains mutable and immutable sorted map interfaces.
|
| com.gs.collections.api.multimap.set |
This package contains interfaces for
SetMultimap. |
| com.gs.collections.api.partition.set |
This package contains interfaces for
PartitionSet. |
| com.gs.collections.api.set |
This package contains interfaces for set API which enhance the performance and functionality of
Set. |
| com.gs.collections.api.set.primitive |
This package contains API for mutable and immutable primitive sets.
|
| Modifier and Type | Method and Description |
|---|---|
MutableSet<T> |
ParallelIterable.toSet() |
MutableSet<T> |
RichIterable.toSet()
Converts the collection to a MutableSet implementation.
|
| Modifier and Type | Method and Description |
|---|---|
MutableSet<Pair<T,java.lang.Integer>> |
MutableBag.zipWithIndex() |
| Modifier and Type | Method and Description |
|---|---|
<T> MutableSet<T> |
MutableSetFactory.of()
Same as
MutableSetFactory.with(). |
<T> MutableSet<T> |
MutableSetFactory.of(T... items)
Same as
MutableSetFactory.with(Object[]). |
<T> MutableSet<T> |
FixedSizeSetFactory.ofAll(java.lang.Iterable<? extends T> items)
|
<T> MutableSet<T> |
MutableSetFactory.ofAll(java.lang.Iterable<? extends T> items)
Same as
MutableSetFactory.withAll(Iterable). |
<T> MutableSet<T> |
MutableSetFactory.with() |
<T> MutableSet<T> |
MutableSetFactory.with(T... items) |
<T> MutableSet<T> |
FixedSizeSetFactory.withAll(java.lang.Iterable<? extends T> items) |
<T> MutableSet<T> |
MutableSetFactory.withAll(java.lang.Iterable<? extends T> items) |
| Modifier and Type | Method and Description |
|---|---|
<T> MutableSet<T> |
MutableHashingStrategySetFactory.of(HashingStrategy<? super T> hashingStrategy)
|
<T> MutableSet<T> |
MutableHashingStrategySetFactory.of(HashingStrategy<? super T> hashingStrategy,
T... items)
|
<T> MutableSet<T> |
MutableHashingStrategySetFactory.ofAll(HashingStrategy<? super T> hashingStrategy,
java.lang.Iterable<? extends T> items)
|
<T> MutableSet<T> |
MutableHashingStrategySetFactory.with(HashingStrategy<? super T> hashingStrategy) |
<T> MutableSet<T> |
MutableHashingStrategySetFactory.with(HashingStrategy<? super T> hashingStrategy,
T... items) |
<T> MutableSet<T> |
MutableHashingStrategySetFactory.withAll(HashingStrategy<? super T> hashingStrategy,
java.lang.Iterable<? extends T> items) |
| Modifier and Type | Method and Description |
|---|---|
MutableSet<java.util.Map.Entry<K,V>> |
MutableSortedMap.entrySet() |
MutableSet<K> |
MutableSortedMap.keySet()
The underlying set for the keys is sorted in ascending order according to their natural ordering or a custom comparator.
|
| Modifier and Type | Method and Description |
|---|---|
MutableSet<V> |
MutableSetMultimap.get(K key) |
MutableSet<V> |
MutableSetMultimap.removeAll(java.lang.Object key) |
MutableSet<V> |
MutableSetMultimap.replaceValues(K key,
java.lang.Iterable<? extends V> values) |
| Modifier and Type | Method and Description |
|---|---|
MutableSet<T> |
PartitionMutableSet.getRejected() |
MutableSet<T> |
PartitionMutableSet.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.
|
| Modifier and Type | Method and Description |
|---|---|
MutableSet<T> |
MutableSet.asSynchronized() |
MutableSet<T> |
MutableSet.asUnmodifiable()
Returns an unmodifable view of the set.
|
MutableSet<T> |
MutableSet.clone() |
<V> MutableSet<V> |
MutableSet.collect(Function<? super T,? extends V> function) |
<V> MutableSet<V> |
MutableSet.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<P,V> MutableSet<V> |
MutableSet.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
MutableSet<T> |
MutableSet.difference(SetIterable<? extends T> subtrahendSet) |
<V> MutableSet<V> |
MutableSet.flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function) |
MutableSet<T> |
MutableSet.intersect(SetIterable<? extends T> set) |
MutableSet<T> |
MutableSet.newEmpty() |
MutableSet<UnsortedSetIterable<T>> |
MutableSet.powerSet() |
MutableSet<T> |
MutableSet.reject(Predicate<? super T> predicate) |
<P> MutableSet<T> |
MutableSet.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableSet<T> |
MutableSet.select(Predicate<? super T> predicate) |
<S> MutableSet<S> |
MutableSet.selectInstancesOf(java.lang.Class<S> clazz) |
<P> MutableSet<T> |
MutableSet.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableSet<T> |
MutableSet.symmetricDifference(SetIterable<? extends T> setB) |
MutableSet<T> |
MutableSet.union(SetIterable<? extends T> set) |
MutableSet<T> |
MutableSet.with(T element) |
MutableSet<T> |
MutableSet.withAll(java.lang.Iterable<? extends T> elements) |
MutableSet<T> |
MutableSet.without(T element) |
MutableSet<T> |
MutableSet.withoutAll(java.lang.Iterable<? extends T> elements) |
<S> MutableSet<Pair<T,S>> |
MutableSet.zip(java.lang.Iterable<S> that) |
MutableSet<Pair<T,java.lang.Integer>> |
MutableSet.zipWithIndex() |
| Modifier and Type | Method and Description |
|---|---|
<V> MutableSet<V> |
MutableBooleanSet.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableSet<V> |
MutableByteSet.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableSet<V> |
MutableCharSet.collect(CharToObjectFunction<? extends V> function) |
<V> MutableSet<V> |
MutableDoubleSet.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableSet<V> |
MutableFloatSet.collect(FloatToObjectFunction<? extends V> function) |
<V> MutableSet<V> |
MutableIntSet.collect(IntToObjectFunction<? extends V> function) |
<V> MutableSet<V> |
MutableLongSet.collect(LongToObjectFunction<? extends V> function) |
<V> MutableSet<V> |
MutableShortSet.collect(ShortToObjectFunction<? extends V> function) |