| Package | Description |
|---|---|
| org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
| org.eclipse.collections.api.bag |
This package contains interfaces for Bag API.
|
| org.eclipse.collections.api.bag.primitive |
This package contains API for Primitive Bags with Mutable and Immutable variants.
|
| org.eclipse.collections.api.bag.sorted |
This package contains interfaces for SortedBag API.
|
| org.eclipse.collections.api.collection | |
| org.eclipse.collections.api.factory.bag |
This package contains factory API for creating instance of type
Bag. |
| org.eclipse.collections.api.factory.bag.strategy | |
| 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.bag |
This package contains interfaces for
BagMultimap. |
| org.eclipse.collections.api.partition.bag |
This package contains interfaces for
PartitionBag. |
| org.eclipse.collections.api.stack |
This package contains interfaces for stack API.
|
| Modifier and Type | Method and Description |
|---|---|
MutableBag<T> |
RichIterable.toBag()
Converts the collection to the default MutableBag implementation.
|
MutableBag<T> |
ParallelIterable.toBag() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MultiReaderBag<T>
A MultiReaderBag provides thread-safe iteration for a bag through methods
withReadLockAndDelegate() and withWriteLockAndDelegate(). |
| 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.collectWithOccurrences(ObjectIntToObjectFunction<? super T,? extends V> function) |
default <V> MutableBag<V> |
MutableBag.countBy(Function<? super T,? extends V> function) |
default <V> MutableBag<V> |
MutableBag.countByEach(Function<? super T,? extends Iterable<V>> function) |
default <V,P> MutableBag<V> |
MutableBag.countByWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
<V> MutableBag<V> |
MutableBag.flatCollect(Function<? super T,? extends Iterable<V>> function) |
default <P,V> MutableBag<V> |
MutableBag.flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function,
P parameter) |
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) |
default MutableBag<T> |
MutableBag.selectDuplicates() |
<S> MutableBag<S> |
MutableBag.selectInstancesOf(Class<S> clazz) |
<P> MutableBag<T> |
MutableBag.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableBag<T> |
MutableBag.tap(Procedure<? super T> procedure) |
default MutableBag<T> |
MutableBag.with(T element) |
default MutableBag<T> |
MutableBag.withAll(Iterable<? extends T> elements) |
default MutableBag<T> |
MutableBag.without(T element) |
default MutableBag<T> |
MutableBag.withoutAll(Iterable<? extends T> elements) |
<S> MutableBag<Pair<T,S>> |
MutableBag.zip(Iterable<S> that)
Deprecated.
in 6.0. Use
OrderedIterable.zip(Iterable) instead. |
| Modifier and Type | Method and Description |
|---|---|
void |
MultiReaderBag.withReadLockAndDelegate(Procedure<? super MutableBag<T>> procedure) |
void |
MultiReaderBag.withWriteLockAndDelegate(Procedure<? super MutableBag<T>> procedure) |
| 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 |
|---|---|
default <V> MutableBag<V> |
MutableSortedBag.countBy(Function<? super T,? extends V> function) |
default <V> MutableBag<V> |
MutableSortedBag.countByEach(Function<? super T,? extends Iterable<V>> function) |
default <V,P> MutableBag<V> |
MutableSortedBag.countByWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
| Modifier and Type | Method and Description |
|---|---|
default <V> MutableBag<V> |
MutableCollection.countBy(Function<? super T,? extends V> function) |
default <V> MutableBag<V> |
MutableCollection.countByEach(Function<? super T,? extends Iterable<V>> function) |
default <V,P> MutableBag<V> |
MutableCollection.countByWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
| Modifier and Type | Method and Description |
|---|---|
<T> MutableBag<T> |
MutableBagFactory.empty() |
<T> MutableBag<T> |
MutableBagFactory.fromStream(Stream<? extends T> stream) |
default <T> MutableBag<T> |
MutableBagFactory.of()
Same as
MutableBagFactory.empty(). |
default <T> MutableBag<T> |
MutableBagFactory.of(T... elements)
Same as
MutableBagFactory.with(Object[]). |
default <T> MutableBag<T> |
MutableBagFactory.ofAll(Iterable<? extends T> items)
Same as
MutableBagFactory.withAll(Iterable). |
default <T> MutableBag<T> |
MutableBagFactory.ofOccurrences(ObjectIntPair<T>... elementsWithOccurrences)
|
default <T> MutableBag<T> |
MutableBagFactory.ofOccurrences(T element,
int occurrence)
|
default <T> MutableBag<T> |
MutableBagFactory.ofOccurrences(T element1,
int occurrence1,
T element2,
int occurrence2)
|
default <T> MutableBag<T> |
MutableBagFactory.ofOccurrences(T element1,
int occurrence1,
T element2,
int occurrence2,
T element3,
int occurrence3)
|
default <T> MutableBag<T> |
MutableBagFactory.ofOccurrences(T element1,
int occurrence1,
T element2,
int occurrence2,
T element3,
int occurrence3,
T element4,
int occurrence4)
|
default <T> MutableBag<T> |
MutableBagFactory.with()
Same as
MutableBagFactory.empty(). |
<T> MutableBag<T> |
MutableBagFactory.with(T... elements) |
<T> MutableBag<T> |
MutableBagFactory.withAll(Iterable<? extends T> items) |
default <T> MutableBag<T> |
MutableBagFactory.withOccurrences(ObjectIntPair<T>... elementsWithOccurrences) |
default <T> MutableBag<T> |
MutableBagFactory.withOccurrences(T element,
int occurrence) |
default <T> MutableBag<T> |
MutableBagFactory.withOccurrences(T element1,
int occurrence1,
T element2,
int occurrence2) |
default <T> MutableBag<T> |
MutableBagFactory.withOccurrences(T element1,
int occurrence1,
T element2,
int occurrence2,
T element3,
int occurrence3) |
default <T> MutableBag<T> |
MutableBagFactory.withOccurrences(T element1,
int occurrence1,
T element2,
int occurrence2,
T element3,
int occurrence3,
T element4,
int occurrence4) |
| Modifier and Type | Method and Description |
|---|---|
<T> MutableBag<T> |
MutableHashingStrategyBagFactory.empty(HashingStrategy<? super T> hashingStrategy) |
<T> MutableBag<T> |
MutableHashingStrategyBagFactory.of(HashingStrategy<? super T> hashingStrategy)
|
<T> MutableBag<T> |
MutableHashingStrategyBagFactory.of(HashingStrategy<? super T> hashingStrategy,
T... items)
|
<T> MutableBag<T> |
MutableHashingStrategyBagFactory.ofAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items)
|
<T> MutableBag<T> |
MutableHashingStrategyBagFactory.with(HashingStrategy<? super T> hashingStrategy) |
<T> MutableBag<T> |
MutableHashingStrategyBagFactory.with(HashingStrategy<? super T> hashingStrategy,
T... items) |
<T> MutableBag<T> |
MutableHashingStrategyBagFactory.withAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items) |
| Modifier and Type | Method and Description |
|---|---|
<R> MutableBag<R> |
MutableMap.collect(Function<? super V,? extends R> function) |
<R> MutableBag<R> |
MutableMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends R> function) |
<P,V1> MutableBag<V1> |
MutableMap.collectWith(Function2<? super V,? super P,? extends V1> function,
P parameter) |
default <V1> MutableBag<V1> |
MutableMapIterable.countBy(Function<? super V,? extends V1> function) |
default <V1> MutableBag<V1> |
MutableMapIterable.countByEach(Function<? super V,? extends Iterable<V1>> function) |
default <V1,P> MutableBag<V1> |
MutableMapIterable.countByWith(Function2<? super V,? super P,? extends V1> function,
P parameter) |
<R> MutableBag<R> |
MutableMap.flatCollect(Function<? super V,? extends Iterable<R>> function) |
default <P,R> MutableBag<R> |
MutableMap.flatCollectWith(Function2<? super V,? super P,? extends Iterable<R>> function,
P parameter) |
MutableBag<V> |
MutableMap.reject(Predicate<? super V> predicate) |
<P> MutableBag<V> |
MutableMap.rejectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
MutableBag<V> |
MutableMap.select(Predicate<? super V> predicate) |
<S> MutableBag<S> |
MutableMap.selectInstancesOf(Class<S> clazz) |
<P> MutableBag<V> |
MutableMap.selectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<S> MutableBag<Pair<V,S>> |
MutableMap.zip(Iterable<S> that)
Deprecated.
in 6.0. Use
OrderedIterable.zip(Iterable) instead. |
| Modifier and Type | Method and Description |
|---|---|
<V> MutableBag<V> |
MutableBooleanValuesMap.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableByteValuesMap.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableCharValuesMap.collect(CharToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableDoubleValuesMap.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableFloatValuesMap.collect(FloatToObjectFunction<? extends V> function) |
<VV> MutableBag<VV> |
MutablePrimitiveObjectMap.collect(Function<? super V,? extends VV> function) |
<V> MutableBag<V> |
MutableIntValuesMap.collect(IntToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableLongValuesMap.collect(LongToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableShortValuesMap.collect(ShortToObjectFunction<? extends V> function) |
<VV> MutableBag<VV> |
MutablePrimitiveObjectMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends VV> function) |
<P,VV> MutableBag<VV> |
MutablePrimitiveObjectMap.collectWith(Function2<? super V,? super P,? extends VV> function,
P parameter) |
<VV> MutableBag<VV> |
MutablePrimitiveObjectMap.flatCollect(Function<? super V,? extends Iterable<VV>> function) |
default <P,VV> MutableBag<VV> |
MutablePrimitiveObjectMap.flatCollectWith(Function2<? super V,? super P,? extends Iterable<VV>> function,
P parameter) |
MutableBag<V> |
MutablePrimitiveObjectMap.reject(Predicate<? super V> predicate) |
<P> MutableBag<V> |
MutablePrimitiveObjectMap.rejectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
MutableBag<V> |
MutablePrimitiveObjectMap.select(Predicate<? super V> predicate) |
<S> MutableBag<S> |
MutablePrimitiveObjectMap.selectInstancesOf(Class<S> clazz) |
<P> MutableBag<V> |
MutablePrimitiveObjectMap.selectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<S> MutableBag<Pair<V,S>> |
MutablePrimitiveObjectMap.zip(Iterable<S> that)
Deprecated.
in 7.0. Use
OrderedIterable.zip(Iterable) instead. |
| Modifier and Type | Method and Description |
|---|---|
MutableBag<V> |
MutableBagMultimap.get(K key) |
MutableBag<V> |
MutableBagMultimap.getIfAbsentPutAll(K key,
Iterable<? extends V> values) |
MutableBag<V> |
MutableBagMultimap.removeAll(Object key) |
MutableBag<V> |
MutableBagMultimap.replaceValues(K key,
Iterable<? extends V> values) |
| Modifier and Type | Method and Description |
|---|---|
void |
MutableBagMultimap.forEachKeyMutableBag(Procedure2<? super K,? super MutableBag<V>> procedure) |
| Modifier and Type | Method and Description |
|---|---|
MutableBag<T> |
PartitionMutableBag.getRejected() |
MutableBag<T> |
PartitionMutableBag.getSelected() |
| Modifier and Type | Method and Description |
|---|---|
default <V> MutableBag<V> |
MutableStack.countBy(Function<? super T,? extends V> function) |
default <V> MutableBag<V> |
MutableStack.countByEach(Function<? super T,? extends Iterable<V>> function) |
default <V,P> MutableBag<V> |
MutableStack.countByWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
Copyright © 2004–2021. All rights reserved.