| 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.test |
This package contains
SerializeTestHelper and Verify classes. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableSortedBag<T>
ImmutableSortedBag is the non-modifiable equivalent interface to
MutableSortedBag. |
interface |
MutableSortedBag<T> |
| Modifier and Type | Method and Description |
|---|---|
SortedBag<T> |
SortedBag.dropWhile(Predicate<? super T> predicate) |
SortedBag<T> |
SortedBag.reject(Predicate<? super T> predicate) |
<P> SortedBag<T> |
SortedBag.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
SortedBag<T> |
SortedBag.select(Predicate<? super T> predicate) |
SortedBag<T> |
SortedBag.selectByOccurrences(IntPredicate predicate) |
<S> SortedBag<S> |
SortedBag.selectInstancesOf(Class<S> clazz) |
<P> SortedBag<T> |
SortedBag.selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
SortedBag<T> |
SortedBag.takeWhile(Predicate<? super T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
SortedBag<V> |
SortedBagMultimap.get(K key) |
| Modifier and Type | Method and Description |
|---|---|
SortedBag<T> |
PartitionSortedBag.getRejected() |
SortedBag<T> |
PartitionSortedBag.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 |
|---|---|
int |
TreeBag.compareTo(SortedBag<T> otherBag) |
int |
UnmodifiableSortedBag.compareTo(SortedBag<T> o) |
| Constructor and Description |
|---|
TreeBag(SortedBag<T> sortedBag) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Verify.assertSortedBagsEqual(SortedBag<?> expectedBag,
SortedBag<?> actualBag) |
static void |
Verify.assertSortedBagsEqual(SortedBag<?> expectedBag,
SortedBag<?> actualBag) |
static void |
Verify.assertSortedBagsEqual(String bagName,
SortedBag<?> expectedBag,
SortedBag<?> actualBag) |
static void |
Verify.assertSortedBagsEqual(String bagName,
SortedBag<?> expectedBag,
SortedBag<?> actualBag) |
Copyright © 2004–2017. All rights reserved.