| Package | Description |
|---|---|
| org.eclipse.collections.api.bag |
This package contains interfaces for Bag API.
|
| org.eclipse.collections.api.multimap.bag |
This package contains interfaces for
BagMultimap. |
| org.eclipse.collections.api.partition.bag |
This package contains interfaces for
PartitionBag. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableBag<T> |
interface |
MultiReaderBag<T>
A MultiReaderBag provides thread-safe iteration for a bag through methods
withReadLockAndDelegate() and withWriteLockAndDelegate(). |
interface |
MutableBag<T>
A MutableBag is a Collection whose elements are unordered and may contain duplicate entries.
|
| Modifier and Type | Method and Description |
|---|---|
<V> UnsortedBag<V> |
UnsortedBag.collect(Function<? super T,? extends V> function) |
<V> UnsortedBag<V> |
UnsortedBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<P,V> UnsortedBag<V> |
UnsortedBag.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
<V> UnsortedBag<V> |
UnsortedBag.collectWithOccurrences(ObjectIntToObjectFunction<? super T,? extends V> function) |
<V> UnsortedBag<V> |
UnsortedBag.flatCollect(Function<? super T,? extends Iterable<V>> function) |
default <P,V> UnsortedBag<V> |
UnsortedBag.flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function,
P parameter) |
UnsortedBag<T> |
UnsortedBag.reject(Predicate<? super T> predicate) |
<P> UnsortedBag<T> |
UnsortedBag.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
UnsortedBag<T> |
UnsortedBag.select(Predicate<? super T> predicate) |
UnsortedBag<T> |
UnsortedBag.selectByOccurrences(IntPredicate predicate) |
default UnsortedBag<T> |
UnsortedBag.selectDuplicates() |
<S> UnsortedBag<S> |
UnsortedBag.selectInstancesOf(Class<S> clazz) |
<P> UnsortedBag<T> |
UnsortedBag.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
UnsortedBag<T> |
UnsortedBag.tap(Procedure<? super T> procedure) |
<S> UnsortedBag<Pair<T,S>> |
UnsortedBag.zip(Iterable<S> that)
Deprecated.
in 6.0. Use
OrderedIterable.zip(Iterable) instead. |
| Modifier and Type | Method and Description |
|---|---|
UnsortedBag<V> |
UnsortedBagMultimap.get(K key) |
| Modifier and Type | Method and Description |
|---|---|
UnsortedBag<T> |
PartitionUnsortedBag.getRejected() |
UnsortedBag<T> |
PartitionUnsortedBag.getSelected() |
Copyright © 2004–2020. All rights reserved.