| Package | Description |
|---|---|
| org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
| org.eclipse.collections.api.bag.sorted |
This package contains interfaces for SortedBag API.
|
| org.eclipse.collections.api.factory.bag.sorted | |
| org.eclipse.collections.api.multimap.sortedbag |
This package contains interfaces for
SortedBagMultimap. |
| org.eclipse.collections.api.partition.bag.sorted |
This package contains interfaces for
PartitionSortedBag. |
| Modifier and Type | Method and Description |
|---|---|
MutableSortedBag<T> |
RichIterable.toSortedBag()
Converts the collection to a MutableSortedBag implementation and sorts it using the natural order of the
elements.
|
MutableSortedBag<T> |
ParallelIterable.toSortedBag() |
MutableSortedBag<T> |
RichIterable.toSortedBag(Comparator<? super T> comparator)
Converts the collection to the MutableSortedBag implementation and sorts it using the specified comparator.
|
MutableSortedBag<T> |
ParallelIterable.toSortedBag(Comparator<? super T> comparator) |
default <V extends Comparable<? super V>> |
RichIterable.toSortedBagBy(Function<? super T,? extends V> function)
Converts the collection to a MutableSortedBag implementation and sorts it based on the natural order of the
attribute returned by
function. |
<V extends Comparable<? super V>> |
ParallelIterable.toSortedBagBy(Function<? super T,? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
MutableSortedBag<T> |
MutableSortedBag.asSynchronized() |
MutableSortedBag<T> |
MutableSortedBag.asUnmodifiable()
Returns an unmodifiable view of the set.
|
MutableSortedBag<T> |
MutableSortedBag.clone() |
MutableSortedBag<T> |
MutableSortedBag.drop(int count) |
MutableSortedBag<T> |
MutableSortedBag.dropWhile(Predicate<? super T> predicate) |
MutableSortedBag<T> |
MutableSortedBag.newEmpty() |
MutableSortedBag<T> |
MutableSortedBag.reject(Predicate<? super T> predicate) |
<P> MutableSortedBag<T> |
MutableSortedBag.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableSortedBag<T> |
MutableSortedBag.select(Predicate<? super T> predicate) |
MutableSortedBag<T> |
MutableSortedBag.selectByOccurrences(IntPredicate predicate) |
default MutableSortedBag<T> |
MutableSortedBag.selectDuplicates() |
<S> MutableSortedBag<S> |
MutableSortedBag.selectInstancesOf(Class<S> clazz) |
<P> MutableSortedBag<T> |
MutableSortedBag.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableSortedBag<T> |
MutableSortedBag.take(int count) |
MutableSortedBag<T> |
MutableSortedBag.takeWhile(Predicate<? super T> predicate) |
MutableSortedBag<T> |
MutableSortedBag.tap(Procedure<? super T> procedure) |
MutableSortedBag<T> |
MutableSortedBag.toReversed() |
default MutableSortedBag<T> |
MutableSortedBag.with(T element) |
default MutableSortedBag<T> |
MutableSortedBag.withAll(Iterable<? extends T> elements) |
default MutableSortedBag<T> |
MutableSortedBag.without(T element) |
default MutableSortedBag<T> |
MutableSortedBag.withoutAll(Iterable<? extends T> elements) |
| Modifier and Type | Method and Description |
|---|---|
<T> MutableSortedBag<T> |
MutableSortedBagFactory.empty() |
<T> MutableSortedBag<T> |
MutableSortedBagFactory.empty(Comparator<? super T> comparator) |
<T> MutableSortedBag<T> |
MutableSortedBagFactory.of()
Same as
MutableSortedBagFactory.with(). |
<T> MutableSortedBag<T> |
MutableSortedBagFactory.of(Comparator<? super T> comparator)
|
<T> MutableSortedBag<T> |
MutableSortedBagFactory.of(Comparator<? super T> comparator,
T... elements)
|
<T> MutableSortedBag<T> |
MutableSortedBagFactory.of(T... elements)
|
<T> MutableSortedBag<T> |
MutableSortedBagFactory.ofAll(Comparator<? super T> comparator,
Iterable<? extends T> items)
|
<T> MutableSortedBag<T> |
MutableSortedBagFactory.ofAll(Iterable<? extends T> items)
|
<T> MutableSortedBag<T> |
MutableSortedBagFactory.with() |
<T> MutableSortedBag<T> |
MutableSortedBagFactory.with(Comparator<? super T> comparator) |
<T> MutableSortedBag<T> |
MutableSortedBagFactory.with(Comparator<? super T> comparator,
T... elements) |
<T> MutableSortedBag<T> |
MutableSortedBagFactory.with(T... elements) |
<T> MutableSortedBag<T> |
MutableSortedBagFactory.withAll(Comparator<? super T> comparator,
Iterable<? extends T> items) |
<T> MutableSortedBag<T> |
MutableSortedBagFactory.withAll(Iterable<? extends T> items) |
| Modifier and Type | Method and Description |
|---|---|
MutableSortedBag<V> |
MutableSortedBagMultimap.get(K key) |
MutableSortedBag<V> |
MutableSortedBagMultimap.getIfAbsentPutAll(K key,
Iterable<? extends V> values) |
MutableSortedBag<V> |
MutableSortedBagMultimap.removeAll(Object key) |
MutableSortedBag<V> |
MutableSortedBagMultimap.replaceValues(K key,
Iterable<? extends V> values) |
| Modifier and Type | Method and Description |
|---|---|
MutableSortedBag<T> |
PartitionMutableSortedBag.getRejected() |
MutableSortedBag<T> |
PartitionMutableSortedBag.getSelected() |
Copyright © 2004–2021. All rights reserved.