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.bag.primitive |
This package contains API for Primitive Bags with Mutable and Immutable variants.
|
com.gs.collections.api.factory.bag |
This package contains factory API for creating instance of type
Bag . |
com.gs.collections.api.multimap.bag |
This package contains interfaces for
BagMultimap . |
com.gs.collections.api.partition.bag |
This package contains interfaces for
PartitionBag . |
com.gs.collections.impl |
This package contains implementations for GS Collections API.
|
com.gs.collections.impl.bag.immutable |
This package contains implementations of the
ImmutableBag interface. |
com.gs.collections.impl.bag.mutable |
This package contains implementations of the
MutableBag interface. |
com.gs.collections.impl.bag.mutable.primitive |
This package contains implementations of the mutable primitive bag interfaces.
|
com.gs.collections.impl.bag.sorted.mutable |
This package contains implementations of
MutableSortedBag . |
com.gs.collections.impl.block.factory |
This package contains factory implementations for
Function , Predicate , SerializableComparator and Procedure . |
com.gs.collections.impl.block.procedure |
This package contains implementations of
Procedure and Procedure2 . |
com.gs.collections.impl.collection.mutable |
This package contains implementations of the
MutableCollection interface. |
com.gs.collections.impl.factory |
This package contains static utilities for creating mutable and immutable collection factories.
|
com.gs.collections.impl.lazy |
This package contains implementations of the
LazyIterable interface. |
com.gs.collections.impl.lazy.parallel | |
com.gs.collections.impl.lazy.parallel.bag | |
com.gs.collections.impl.list |
This package contains implementations of the
ListIterable interface. |
com.gs.collections.impl.map |
This package contains implementations of the
MapIterable interface. |
com.gs.collections.impl.map.mutable |
This package contains implementations of the
MutableMap interface. |
com.gs.collections.impl.map.mutable.primitive |
This package contains implementations of the mutable primitive-primitive, primitive-object and object-primitive map interfaces.
|
com.gs.collections.impl.map.sorted.mutable |
This package contains implementations of the
MutableSortedMap interface. |
com.gs.collections.impl.partition.bag |
This package contains implementations of the
PartitionBag interface. |
com.gs.collections.impl.set.mutable |
This package package contains implementations of
MutableSet . |
com.gs.collections.impl.set.strategy.mutable |
This package contains implementations of sets with user defined
HashingStrategy s. |
com.gs.collections.impl.stack.mutable |
This package contains implementations of the
MutableStack interface. |
com.gs.collections.impl.utility |
This package contains static utilities that provide iteration pattern implementations which work with JCF collections.
|
Modifier and Type | Method and Description |
---|---|
MutableBag<T> |
ParallelIterable.toBag() |
MutableBag<T> |
RichIterable.toBag()
Converts the collection to the default MutableBag implementation.
|
Modifier and Type | Method and Description |
---|---|
MutableBag<T> |
MutableBag.asSynchronized() |
MutableBag<T> |
MutableBag.asUnmodifiable() |
<V> MutableBag<V> |
MutableBag.collect(Function<? super T,? extends V> function) |
<V> MutableBag<V> |
MutableBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<P,V> MutableBag<V> |
MutableBag.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
<V> MutableBag<V> |
MutableBag.flatCollect(Function<? super T,? extends Iterable<V>> function) |
MutableBag<T> |
MutableBag.newEmpty() |
MutableBag<T> |
MutableBag.reject(Predicate<? super T> predicate) |
<P> MutableBag<T> |
MutableBag.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableBag<T> |
MutableBag.select(Predicate<? super T> predicate) |
MutableBag<T> |
MutableBag.selectByOccurrences(IntPredicate predicate) |
<S> MutableBag<S> |
MutableBag.selectInstancesOf(Class<S> clazz) |
<P> MutableBag<T> |
MutableBag.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableBag<T> |
MutableBag.with(T element) |
MutableBag<T> |
MutableBag.withAll(Iterable<? extends T> elements) |
MutableBag<T> |
MutableBag.without(T element) |
MutableBag<T> |
MutableBag.withoutAll(Iterable<? extends T> elements) |
<S> MutableBag<Pair<T,S>> |
MutableBag.zip(Iterable<S> that) |
Modifier and Type | Method and Description |
---|---|
<V> MutableBag<V> |
MutableBooleanBag.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableByteBag.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableCharBag.collect(CharToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableDoubleBag.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableFloatBag.collect(FloatToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableIntBag.collect(IntToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableLongBag.collect(LongToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableShortBag.collect(ShortToObjectFunction<? extends V> function) |
Modifier and Type | Method and Description |
---|---|
<T> MutableBag<T> |
MutableBagFactory.of()
Same as
MutableBagFactory.with() . |
<T> MutableBag<T> |
MutableBagFactory.of(T... elements)
Same as
MutableBagFactory.with(Object[]) . |
<T> MutableBag<T> |
MutableBagFactory.with() |
<T> MutableBag<T> |
MutableBagFactory.with(T... elements) |
Modifier and Type | Method and Description |
---|---|
MutableBag<V> |
MutableBagMultimap.get(K key) |
MutableBag<V> |
MutableBagMultimap.removeAll(Object key) |
MutableBag<V> |
MutableBagMultimap.replaceValues(K key,
Iterable<? extends V> values) |
Modifier and Type | Method and Description |
---|---|
MutableBag<T> |
PartitionMutableBag.getRejected() |
MutableBag<T> |
PartitionMutableBag.getSelected() |
Modifier and Type | Method and Description |
---|---|
MutableBag<T> |
AbstractRichIterable.toBag() |
MutableBag<T> |
UnmodifiableRichIterable.toBag() |
MutableBag<T> |
SynchronizedRichIterable.toBag() |
Modifier and Type | Method and Description |
---|---|
MutableBag<T> |
ImmutableHashBag.toBag() |
Modifier and Type | Class and Description |
---|---|
class |
HashBag<T>
A HashBag is a MutableBag which uses a Map as its underlying data store.
|
class |
MultiReaderHashBag<T>
MultiReaderHashBag provides a thread-safe wrapper around a HashBag, using a ReentrantReadWriteLock.
|
class |
SynchronizedBag<T>
A synchronized view of a
MutableBag . |
class |
UnmodifiableBag<T>
An unmodifiable view of a bag.
|
Modifier and Type | Method and Description |
---|---|
static <E,B extends MutableBag<E>> |
SynchronizedBag.of(B bag)
This method will take a MutableBag and wrap it directly in a SynchronizedBag.
|
static <E,B extends MutableBag<E>> |
UnmodifiableBag.of(B bag)
This method will take a MutableBag and wrap it directly in a UnmodifiableBag.
|
Modifier and Type | Method and Description |
---|---|
MutableBag<T> |
SynchronizedBag.asSynchronized() |
MutableBag<T> |
MultiReaderHashBag.asSynchronized() |
MutableBag<T> |
UnmodifiableBag.asSynchronized() |
MutableBag<T> |
SynchronizedBag.asUnmodifiable() |
MutableBag<T> |
MultiReaderHashBag.asUnmodifiable() |
MutableBag<T> |
UnmodifiableBag.asUnmodifiable() |
<V> MutableBag<V> |
SynchronizedBag.collect(Function<? super T,? extends V> function) |
<V> MutableBag<V> |
MultiReaderHashBag.collect(Function<? super T,? extends V> function) |
<V> MutableBag<V> |
UnmodifiableBag.collect(Function<? super T,? extends V> function) |
<V> MutableBag<V> |
HashBag.collect(Function<? super T,? extends V> function) |
<V> MutableBag<V> |
SynchronizedBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> MutableBag<V> |
MultiReaderHashBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> MutableBag<V> |
UnmodifiableBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> MutableBag<V> |
HashBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<P,A> MutableBag<A> |
UnmodifiableBag.collectWith(Function2<? super T,? super P,? extends A> function,
P parameter) |
<P,V> MutableBag<V> |
SynchronizedBag.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
<P,V> MutableBag<V> |
MultiReaderHashBag.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
<P,V> MutableBag<V> |
HashBag.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
<V> MutableBag<V> |
SynchronizedBag.flatCollect(Function<? super T,? extends Iterable<V>> function) |
<V> MutableBag<V> |
MultiReaderHashBag.flatCollect(Function<? super T,? extends Iterable<V>> function) |
<V> MutableBag<V> |
UnmodifiableBag.flatCollect(Function<? super T,? extends Iterable<V>> function) |
<V> MutableBag<V> |
HashBag.flatCollect(Function<? super T,? extends Iterable<V>> function) |
MutableBag<T> |
SynchronizedBag.newEmpty() |
MutableBag<T> |
MultiReaderHashBag.newEmpty() |
MutableBag<T> |
UnmodifiableBag.newEmpty() |
MutableBag<T> |
HashBag.newEmpty() |
<T> MutableBag<T> |
MutableBagFactoryImpl.of() |
<T> MutableBag<T> |
MutableBagFactoryImpl.of(T... elements) |
MutableBag<T> |
SynchronizedBag.reject(Predicate<? super T> predicate) |
MutableBag<T> |
MultiReaderHashBag.reject(Predicate<? super T> predicate) |
MutableBag<T> |
UnmodifiableBag.reject(Predicate<? super T> predicate) |
MutableBag<T> |
HashBag.reject(Predicate<? super T> predicate) |
<P> MutableBag<T> |
SynchronizedBag.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<P> MutableBag<T> |
MultiReaderHashBag.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<P> MutableBag<T> |
UnmodifiableBag.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<P> MutableBag<T> |
HashBag.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableBag<T> |
SynchronizedBag.select(Predicate<? super T> predicate) |
MutableBag<T> |
MultiReaderHashBag.select(Predicate<? super T> predicate) |
MutableBag<T> |
UnmodifiableBag.select(Predicate<? super T> predicate) |
MutableBag<T> |
HashBag.select(Predicate<? super T> predicate) |
MutableBag<T> |
SynchronizedBag.selectByOccurrences(IntPredicate predicate) |
MutableBag<T> |
MultiReaderHashBag.selectByOccurrences(IntPredicate predicate) |
MutableBag<T> |
UnmodifiableBag.selectByOccurrences(IntPredicate predicate) |
MutableBag<T> |
HashBag.selectByOccurrences(IntPredicate predicate) |
<S> MutableBag<S> |
SynchronizedBag.selectInstancesOf(Class<S> clazz) |
<S> MutableBag<S> |
MultiReaderHashBag.selectInstancesOf(Class<S> clazz) |
<S> MutableBag<S> |
UnmodifiableBag.selectInstancesOf(Class<S> clazz) |
<S> MutableBag<S> |
HashBag.selectInstancesOf(Class<S> clazz) |
<P> MutableBag<T> |
SynchronizedBag.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<P> MutableBag<T> |
MultiReaderHashBag.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<P> MutableBag<T> |
UnmodifiableBag.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<P> MutableBag<T> |
HashBag.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableBag<T> |
HashBag.toBag() |
<T> MutableBag<T> |
MutableBagFactoryImpl.with() |
<T> MutableBag<T> |
MutableBagFactoryImpl.with(T... elements) |
MutableBag<T> |
SynchronizedBag.with(T element) |
MutableBag<T> |
MultiReaderHashBag.with(T element) |
MutableBag<T> |
UnmodifiableBag.with(T element) |
MutableBag<T> |
SynchronizedBag.withAll(Iterable<? extends T> elements) |
MutableBag<T> |
MultiReaderHashBag.withAll(Iterable<? extends T> elements) |
MutableBag<T> |
UnmodifiableBag.withAll(Iterable<? extends T> elements) |
MutableBag<T> |
SynchronizedBag.without(T element) |
MutableBag<T> |
MultiReaderHashBag.without(T element) |
MutableBag<T> |
UnmodifiableBag.without(T element) |
MutableBag<T> |
SynchronizedBag.withoutAll(Iterable<? extends T> elements) |
MutableBag<T> |
MultiReaderHashBag.withoutAll(Iterable<? extends T> elements) |
MutableBag<T> |
UnmodifiableBag.withoutAll(Iterable<? extends T> elements) |
<S> MutableBag<Pair<T,S>> |
SynchronizedBag.zip(Iterable<S> that) |
<S> MutableBag<Pair<T,S>> |
MultiReaderHashBag.zip(Iterable<S> that) |
<S> MutableBag<Pair<T,S>> |
UnmodifiableBag.zip(Iterable<S> that) |
<S> MutableBag<Pair<T,S>> |
HashBag.zip(Iterable<S> that) |
Modifier and Type | Method and Description |
---|---|
void |
MultiReaderHashBag.withReadLockAndDelegate(Procedure<MutableBag<T>> procedure) |
void |
MultiReaderHashBag.withWriteLockAndDelegate(Procedure<MutableBag<T>> procedure) |
Constructor and Description |
---|
SynchronizedBag(MutableBag<T> bag,
Object newLock) |
Modifier and Type | Method and Description |
---|---|
<V> MutableBag<V> |
BooleanHashBag.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
SynchronizedBooleanBag.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
UnmodifiableBooleanBag.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
ByteHashBag.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
SynchronizedByteBag.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
UnmodifiableByteBag.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
SynchronizedCharBag.collect(CharToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
UnmodifiableCharBag.collect(CharToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
CharHashBag.collect(CharToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
DoubleHashBag.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
SynchronizedDoubleBag.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
UnmodifiableDoubleBag.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
SynchronizedFloatBag.collect(FloatToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
UnmodifiableFloatBag.collect(FloatToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
FloatHashBag.collect(FloatToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
IntHashBag.collect(IntToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
UnmodifiableIntBag.collect(IntToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
SynchronizedIntBag.collect(IntToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
UnmodifiableLongBag.collect(LongToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
SynchronizedLongBag.collect(LongToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
LongHashBag.collect(LongToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
ShortHashBag.collect(ShortToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
UnmodifiableShortBag.collect(ShortToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
SynchronizedShortBag.collect(ShortToObjectFunction<? extends V> function) |
Modifier and Type | Method and Description |
---|---|
MutableBag<T> |
TreeBag.toBag() |
Modifier and Type | Method and Description |
---|---|
static <T> Function0<MutableBag<T>> |
Functions0.newHashBag() |
Modifier and Type | Method and Description |
---|---|
MutableBag<T> |
BagAddOccurrencesProcedure.getResult() |
Modifier and Type | Method and Description |
---|---|
static <T> BagAddOccurrencesProcedure<T> |
BagAddOccurrencesProcedure.on(MutableBag<T> mutableBag) |
Constructor and Description |
---|
BagAddOccurrencesProcedure(MutableBag<T> mutableBag) |
Modifier and Type | Method and Description |
---|---|
MutableBag<T> |
AbstractMultiReaderMutableCollection.toBag() |
MutableBag<T> |
AbstractSynchronizedMutableCollection.toBag() |
MutableBag<T> |
AbstractUnmodifiableMutableCollection.toBag() |
MutableBag<T> |
AbstractCollectionAdapter.toBag() |
Modifier and Type | Method and Description |
---|---|
static <T> MutableBag<T> |
Iterables.mBag() |
static <T> MutableBag<T> |
Iterables.mBag(T... elements) |
Modifier and Type | Method and Description |
---|---|
MutableBag<T> |
AbstractLazyIterable.toBag() |
Modifier and Type | Method and Description |
---|---|
MutableBag<T> |
AbstractParallelIterable.toBag() |
Modifier and Type | Method and Description |
---|---|
MutableBag<T> |
AbstractParallelUnsortedBag.toBag() |
Modifier and Type | Method and Description |
---|---|
MutableBag<Integer> |
Interval.toBag() |
Modifier and Type | Method and Description |
---|---|
MutableBag<V> |
AbstractMapIterable.toBag() |
MutableBag<V> |
SynchronizedMapIterable.toBag() |
Modifier and Type | Method and Description |
---|---|
MutableBag<V> |
UnmodifiableMutableMap.toBag() |
Modifier and Type | Method and Description |
---|---|
MutableBag<V> |
UnmodifiableCharObjectMap.toBag() |
MutableBag<V> |
UnmodifiableIntObjectMap.toBag() |
MutableBag<V> |
UnmodifiableFloatObjectMap.toBag() |
MutableBag<V> |
LongObjectHashMap.toBag() |
MutableBag<V> |
SynchronizedLongObjectMap.toBag() |
MutableBag<V> |
DoubleObjectHashMap.toBag() |
MutableBag<V> |
CharObjectHashMap.toBag() |
MutableBag<V> |
UnmodifiableDoubleObjectMap.toBag() |
MutableBag<V> |
ByteObjectHashMap.toBag() |
MutableBag<V> |
FloatObjectHashMap.toBag() |
MutableBag<V> |
SynchronizedCharObjectMap.toBag() |
MutableBag<V> |
UnmodifiableShortObjectMap.toBag() |
MutableBag<V> |
UnmodifiableLongObjectMap.toBag() |
MutableBag<V> |
SynchronizedDoubleObjectMap.toBag() |
MutableBag<V> |
ShortObjectHashMap.toBag() |
MutableBag<V> |
IntObjectHashMap.toBag() |
MutableBag<V> |
SynchronizedShortObjectMap.toBag() |
MutableBag<V> |
SynchronizedFloatObjectMap.toBag() |
MutableBag<V> |
UnmodifiableByteObjectMap.toBag() |
MutableBag<V> |
SynchronizedByteObjectMap.toBag() |
MutableBag<V> |
SynchronizedIntObjectMap.toBag() |
Modifier and Type | Method and Description |
---|---|
MutableBag<V> |
UnmodifiableTreeMap.toBag() |
Modifier and Type | Method and Description |
---|---|
MutableBag<T> |
PartitionHashBag.getRejected() |
MutableBag<T> |
PartitionHashBag.getSelected() |
Modifier and Type | Method and Description |
---|---|
MutableBag<T> |
UnifiedSet.toBag() |
Modifier and Type | Method and Description |
---|---|
MutableBag<K> |
UnifiedSetWithHashingStrategy.toBag() |
Modifier and Type | Method and Description |
---|---|
MutableBag<T> |
UnmodifiableStack.toBag() |
MutableBag<T> |
SynchronizedStack.toBag() |
MutableBag<T> |
ArrayStack.toBag() |
Modifier and Type | Method and Description |
---|---|
static MutableBag<Character> |
StringIterate.toBag(String string) |
static MutableBag<Character> |
StringIterate.toLowercaseBag(String string) |
static MutableBag<Character> |
StringIterate.toUppercaseBag(String string) |
Copyright © 2004–2017. All rights reserved.