| Package | Description |
|---|---|
| com.gs.collections.api.bag |
This package contains interfaces for Bag API.
|
| com.gs.collections.api.bag.sorted |
This package contains interfaces for SortedBag API.
|
| com.gs.collections.api.collection | |
| com.gs.collections.api.collection.primitive |
This package contains mutable and immutable primitive collection API.
|
| com.gs.collections.api.list |
This package contains interfaces for list API which enhance the performance and functionality of
List. |
| com.gs.collections.api.map |
This package contains interfaces for map API which enhance the performance and functionality of
Map |
| com.gs.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.
|
| com.gs.collections.api.map.sorted |
This package contains mutable and immutable sorted map interfaces.
|
| com.gs.collections.api.multimap |
This package contains interfaces for
Multimap. |
| com.gs.collections.api.partition |
This package contains interfaces for
PartitionIterable. |
| 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.sorted |
This package contains interfaces for sorted set API.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableBag<T>
A MutableBag is a Collection whose elements are unordered and may contain duplicate entries.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableSortedBag<T> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FixedSizeCollection<T>
A FixedSizeCollection is a collection that may be mutated, but cannot grow or shrink in size.
|
| Modifier and Type | Method and Description |
|---|---|
MutableCollection<T> |
MutableCollection.asSynchronized()
Returns a synchronized (thread-safe) collection backed by this collection.
|
MutableCollection<T> |
MutableCollection.asUnmodifiable()
Returns an unmodifiable view of this collection.
|
<V> MutableCollection<V> |
MutableCollection.collect(Function<? super T,? extends V> function)
Returns a new MutableCollection with the results of applying the specified function to each element of the source
collection.
|
<V> MutableCollection<V> |
MutableCollection.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function)
Returns a new MutableCollection with the results of applying the specified function to each element of the source
collection, but only for elements that evaluate to true for the specified predicate.
|
<P,V> MutableCollection<V> |
MutableCollection.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
<V> MutableCollection<V> |
MutableCollection.flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function) |
MutableCollection<T> |
MutableCollection.newEmpty()
Creates a new empty mutable version of the same collection type.
|
MutableCollection<T> |
MutableCollection.reject(Predicate<? super T> predicate)
Returns a MutableCollection with all elements that evaluate to false for the specified predicate.
|
<P> MutableCollection<T> |
MutableCollection.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter)
Returns a MutableCollection with all elements that evaluate to false for the specified predicate2 and parameter.
|
MutableCollection<T> |
MutableCollection.select(Predicate<? super T> predicate)
Returns a MutableCollection with all elements that evaluate to true for the specified predicate.
|
<S> MutableCollection<S> |
MutableCollection.selectInstancesOf(java.lang.Class<S> clazz) |
<P> MutableCollection<T> |
MutableCollection.selectWith(Predicate2<? super T,? super P> predicate,
P parameter)
Returns a MutableCollection with all elements that evaluate to true for the specified predicate2 and parameter.
|
MutableCollection<T> |
FixedSizeCollection.with(T element)
This method allows fixed size collections the ability to add elements to their existing elements.
|
MutableCollection<T> |
MutableCollection.with(T element)
This method allows mutable and fixed size collections the ability to add elements to their existing elements.
|
MutableCollection<T> |
FixedSizeCollection.withAll(java.lang.Iterable<? extends T> elements)
This method allows fixed size collections the ability to add multiple elements to their existing elements.
|
MutableCollection<T> |
MutableCollection.withAll(java.lang.Iterable<? extends T> elements)
This method allows mutable and fixed size collections the ability to add multiple elements to their existing
elements.
|
MutableCollection<T> |
FixedSizeCollection.without(T element)
This method allows fixed size collections the ability to remove elements from their existing elements.
|
MutableCollection<T> |
MutableCollection.without(T element)
This method allows mutable and fixed size collections the ability to remove elements from their existing elements.
|
MutableCollection<T> |
FixedSizeCollection.withoutAll(java.lang.Iterable<? extends T> elements)
This method allows fixed size collections the ability to remove multiple elements from their existing elements.
|
MutableCollection<T> |
MutableCollection.withoutAll(java.lang.Iterable<? extends T> elements)
This method allows mutable and fixed size collections the ability to remove multiple elements from their existing
elements.
|
<S> MutableCollection<Pair<T,S>> |
MutableCollection.zip(java.lang.Iterable<S> that) |
MutableCollection<Pair<T,java.lang.Integer>> |
MutableCollection.zipWithIndex() |
| Modifier and Type | Method and Description |
|---|---|
<V> MutableCollection<V> |
MutableBooleanCollection.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableByteCollection.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableCharCollection.collect(CharToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableDoubleCollection.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableFloatCollection.collect(FloatToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableIntCollection.collect(IntToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableLongCollection.collect(LongToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableShortCollection.collect(ShortToObjectFunction<? extends V> function) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FixedSizeList<T>
A FixedSizeList is a list that may be mutated, but cannot grow or shrink in size.
|
interface |
MutableList<T>
A MutableList is an implementation of a JCF List which provides methods matching the Smalltalk Collection protocol.
|
| Modifier and Type | Method and Description |
|---|---|
<R> MutableCollection<R> |
MutableMap.collect(Function<? super V,? extends R> function) |
<R> MutableCollection<R> |
MutableMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends R> function) |
<R> MutableCollection<R> |
MutableMap.flatCollect(Function<? super V,? extends java.lang.Iterable<R>> function) |
MutableCollection<V> |
MutableMap.reject(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableMap.select(Predicate<? super V> predicate) |
<S> MutableCollection<S> |
MutableMap.selectInstancesOf(java.lang.Class<S> clazz) |
<S> MutableCollection<Pair<V,S>> |
MutableMap.zip(java.lang.Iterable<S> that) |
MutableCollection<Pair<V,java.lang.Integer>> |
MutableMap.zipWithIndex() |
| Modifier and Type | Method and Description |
|---|---|
<V> MutableCollection<V> |
MutableByteBooleanMap.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableCharBooleanMap.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableDoubleBooleanMap.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableFloatBooleanMap.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableIntBooleanMap.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableLongBooleanMap.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectBooleanMap.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableShortBooleanMap.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableByteByteMap.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableCharByteMap.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableDoubleByteMap.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableFloatByteMap.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableIntByteMap.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableLongByteMap.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectByteMap.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableShortByteMap.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableByteCharMap.collect(CharToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableCharCharMap.collect(CharToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableDoubleCharMap.collect(CharToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableFloatCharMap.collect(CharToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableIntCharMap.collect(CharToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableLongCharMap.collect(CharToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectCharMap.collect(CharToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableShortCharMap.collect(CharToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableByteDoubleMap.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableCharDoubleMap.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableDoubleDoubleMap.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableFloatDoubleMap.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableIntDoubleMap.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableLongDoubleMap.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectDoubleMap.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableShortDoubleMap.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableByteFloatMap.collect(FloatToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableCharFloatMap.collect(FloatToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableDoubleFloatMap.collect(FloatToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableFloatFloatMap.collect(FloatToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableIntFloatMap.collect(FloatToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableLongFloatMap.collect(FloatToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectFloatMap.collect(FloatToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableShortFloatMap.collect(FloatToObjectFunction<? extends V> function) |
<V1> MutableCollection<V1> |
MutableByteObjectMap.collect(Function<? super V,? extends V1> function) |
<V1> MutableCollection<V1> |
MutableCharObjectMap.collect(Function<? super V,? extends V1> function) |
<V1> MutableCollection<V1> |
MutableDoubleObjectMap.collect(Function<? super V,? extends V1> function) |
<V1> MutableCollection<V1> |
MutableFloatObjectMap.collect(Function<? super V,? extends V1> function) |
<V1> MutableCollection<V1> |
MutableIntObjectMap.collect(Function<? super V,? extends V1> function) |
<V1> MutableCollection<V1> |
MutableLongObjectMap.collect(Function<? super V,? extends V1> function) |
<V1> MutableCollection<V1> |
MutableShortObjectMap.collect(Function<? super V,? extends V1> function) |
<VV> MutableCollection<VV> |
MutablePrimitiveObjectMap.collect(Function<? super V,? extends VV> function) |
<V> MutableCollection<V> |
MutableByteIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableCharIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableDoubleIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableFloatIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableIntIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableLongIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableShortIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableByteLongMap.collect(LongToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableCharLongMap.collect(LongToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableDoubleLongMap.collect(LongToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableFloatLongMap.collect(LongToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableIntLongMap.collect(LongToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableLongLongMap.collect(LongToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectLongMap.collect(LongToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableShortLongMap.collect(LongToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableByteShortMap.collect(ShortToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableCharShortMap.collect(ShortToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableDoubleShortMap.collect(ShortToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableFloatShortMap.collect(ShortToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableIntShortMap.collect(ShortToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableLongShortMap.collect(ShortToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectShortMap.collect(ShortToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableShortShortMap.collect(ShortToObjectFunction<? extends V> function) |
<VV> MutableCollection<VV> |
MutablePrimitiveObjectMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends VV> function) |
<P,VV> MutableCollection<VV> |
MutablePrimitiveObjectMap.collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter) |
<P,VV> MutableCollection<VV> |
MutableByteObjectMap.collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter) |
<P,VV> MutableCollection<VV> |
MutableCharObjectMap.collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter) |
<P,VV> MutableCollection<VV> |
MutableDoubleObjectMap.collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter) |
<P,VV> MutableCollection<VV> |
MutableFloatObjectMap.collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter) |
<P,VV> MutableCollection<VV> |
MutableIntObjectMap.collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter) |
<P,VV> MutableCollection<VV> |
MutableLongObjectMap.collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter) |
<P,VV> MutableCollection<VV> |
MutableShortObjectMap.collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter) |
MutableCollection<V> |
MutablePrimitiveObjectMap.reject(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableByteObjectMap.reject(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableCharObjectMap.reject(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableDoubleObjectMap.reject(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableFloatObjectMap.reject(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableIntObjectMap.reject(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableLongObjectMap.reject(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableShortObjectMap.reject(Predicate<? super V> predicate) |
<P> MutableCollection<V> |
MutablePrimitiveObjectMap.rejectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
MutableCollection<V> |
MutablePrimitiveObjectMap.select(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableByteObjectMap.select(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableCharObjectMap.select(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableDoubleObjectMap.select(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableFloatObjectMap.select(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableIntObjectMap.select(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableLongObjectMap.select(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableShortObjectMap.select(Predicate<? super V> predicate) |
<S> MutableCollection<S> |
MutablePrimitiveObjectMap.selectInstancesOf(java.lang.Class<S> clazz) |
<P> MutableCollection<V> |
MutablePrimitiveObjectMap.selectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<S> MutableCollection<Pair<V,S>> |
MutablePrimitiveObjectMap.zip(java.lang.Iterable<S> that) |
MutableCollection<Pair<V,java.lang.Integer>> |
MutablePrimitiveObjectMap.zipWithIndex() |
| Modifier and Type | Method and Description |
|---|---|
MutableCollection<V> |
MutableSortedMap.values() |
| Modifier and Type | Method and Description |
|---|---|
MutableCollection<V> |
MutableMultimap.get(K key) |
| Modifier and Type | Method and Description |
|---|---|
MutableCollection<T> |
PartitionMutableCollection.getRejected() |
MutableCollection<T> |
PartitionMutableCollection.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 |
MutableSet<T>
A MutableSet is an implementation of a JCF Set which provides methods matching the Smalltalk Collection protocol.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableSortedSet<T>
A MutableSortedSet is an implementation of a JCF SortedSet which provides methods matching the Smalltalk Collection
protocol.
|