Package | Description |
---|---|
com.gs.collections.api.bag.sorted |
This package contains interfaces for SortedBag API.
|
com.gs.collections.api.multimap.sortedbag |
This package contains interfaces for
SortedBagMultimap . |
com.gs.collections.api.partition.bag.sorted |
This package contains interfaces for
PartitionSortedBag . |
com.gs.collections.impl.bag.sorted.mutable |
This package contains implementations of
MutableSortedBag . |
com.gs.collections.impl.partition.bag.sorted |
This package contains implementations of the
PartitionSortedBag interface. |
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.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) |
<S> MutableSortedBag<S> |
MutableSortedBag.selectInstancesOf(Class<S> clazz) |
<P> MutableSortedBag<T> |
MutableSortedBag.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableSortedBag<T> |
MutableSortedBag.takeWhile(Predicate<? super T> predicate) |
MutableSortedBag<T> |
MutableSortedBag.with(T element) |
MutableSortedBag<T> |
MutableSortedBag.withAll(Iterable<? extends T> elements) |
MutableSortedBag<T> |
MutableSortedBag.without(T element) |
MutableSortedBag<T> |
MutableSortedBag.withoutAll(Iterable<? extends T> elements) |
Modifier and Type | Method and Description |
---|---|
MutableSortedBag<V> |
MutableSortedBagMultimap.get(K key) |
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() |
Modifier and Type | Class and Description |
---|---|
class |
TreeBag<T>
A TreeBag is a MutableSortedBag which uses a SortedMap as its underlying data store.
|
class |
UnmodifiableSortedBag<T>
An unmodifiable view of a SortedBag.
|
Modifier and Type | Method and Description |
---|---|
static <E,S extends MutableSortedBag<E>> |
UnmodifiableSortedBag.of(S bag)
This method will take a MutableSortedBag and wrap it directly in a UnmodifiableSortedBag.
|
Modifier and Type | Method and Description |
---|---|
MutableSortedBag<T> |
UnmodifiableSortedBag.asSynchronized() |
MutableSortedBag<T> |
TreeBag.asSynchronized() |
MutableSortedBag<T> |
UnmodifiableSortedBag.asUnmodifiable() |
MutableSortedBag<T> |
UnmodifiableSortedBag.dropWhile(Predicate<? super T> predicate) |
MutableSortedBag<T> |
TreeBag.dropWhile(Predicate<? super T> predicate) |
MutableSortedBag<T> |
UnmodifiableSortedBag.newEmpty() |
MutableSortedBag<T> |
TreeBag.newEmpty() |
MutableSortedBag<T> |
UnmodifiableSortedBag.reject(Predicate<? super T> predicate) |
MutableSortedBag<T> |
TreeBag.reject(Predicate<? super T> predicate) |
<P> MutableSortedBag<T> |
UnmodifiableSortedBag.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<P> MutableSortedBag<T> |
TreeBag.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableSortedBag<T> |
UnmodifiableSortedBag.select(Predicate<? super T> predicate) |
MutableSortedBag<T> |
TreeBag.select(Predicate<? super T> predicate) |
MutableSortedBag<T> |
UnmodifiableSortedBag.selectByOccurrences(IntPredicate predicate) |
MutableSortedBag<T> |
TreeBag.selectByOccurrences(IntPredicate predicate) |
<S> MutableSortedBag<S> |
UnmodifiableSortedBag.selectInstancesOf(Class<S> clazz) |
<S> MutableSortedBag<S> |
TreeBag.selectInstancesOf(Class<S> clazz) |
<P> MutableSortedBag<T> |
UnmodifiableSortedBag.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<P> MutableSortedBag<T> |
TreeBag.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableSortedBag<T> |
UnmodifiableSortedBag.takeWhile(Predicate<? super T> predicate) |
MutableSortedBag<T> |
TreeBag.takeWhile(Predicate<? super T> predicate) |
MutableSortedBag<T> |
UnmodifiableSortedBag.with(T element) |
MutableSortedBag<T> |
UnmodifiableSortedBag.withAll(Iterable<? extends T> elements) |
MutableSortedBag<T> |
UnmodifiableSortedBag.without(T element) |
MutableSortedBag<T> |
UnmodifiableSortedBag.withoutAll(Iterable<? extends T> elements) |
Modifier and Type | Method and Description |
---|---|
MutableSortedBag<T> |
PartitionTreeBag.getRejected() |
MutableSortedBag<T> |
PartitionTreeBag.getSelected() |
Copyright © 2004–2017. All rights reserved.