| 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.sorted |
This package contains interfaces for SortedBag 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 | Method and Description |
|---|---|
default <V,R extends MutableBagIterable<V>> |
RichIterable.countBy(Function<? super T,? extends V> function,
R target)
This method will count the number of occurrences of each value calculated by applying the
function to each element of the collection.
|
default <V,P,R extends MutableBagIterable<V>> |
RichIterable.countByWith(Function2<? super T,? super P,? extends V> function,
P parameter,
R target)
This method will count the number of occurrences of each value calculated by applying the
function to each element of the collection with the specified parameter as the second argument.
|
| 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 | Method and Description |
|---|---|
MutableBagIterable<T> |
MutableBagIterable.reject(Predicate<? super T> predicate) |
<P> MutableBagIterable<T> |
MutableBagIterable.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableBagIterable<T> |
MutableBagIterable.select(Predicate<? super T> predicate) |
MutableBagIterable<T> |
MutableBagIterable.selectByOccurrences(IntPredicate predicate) |
<S> MutableBagIterable<S> |
MutableBagIterable.selectInstancesOf(Class<S> clazz) |
<P> MutableBagIterable<T> |
MutableBagIterable.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableBagIterable<T> |
MutableBagIterable.tap(Procedure<? super T> procedure) |
MutableBagIterable<T> |
MutableBagIterable.with(T element) |
MutableBagIterable<T> |
MutableBagIterable.withAll(Iterable<? extends T> elements) |
MutableBagIterable<T> |
MutableBagIterable.without(T element) |
MutableBagIterable<T> |
MutableBagIterable.withoutAll(Iterable<? extends T> elements) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableSortedBag<T> |
| Modifier and Type | Method and Description |
|---|---|
MutableBagIterable<V> |
MutableBagIterableMultimap.get(K key) |
MutableBagIterable<V> |
MutableBagIterableMultimap.removeAll(Object key) |
MutableBagIterable<V> |
MutableBagIterableMultimap.replaceValues(K key,
Iterable<? extends V> values) |
| Modifier and Type | Method and Description |
|---|---|
MutableBagIterable<T> |
PartitionMutableBagIterable.getRejected() |
MutableBagIterable<T> |
PartitionMutableBagIterable.getSelected() |
Copyright © 2004–2017. All rights reserved.