| Package | Description |
|---|---|
| com.gs.collections.api |
This package contains interfaces for GS Collections API.
|
| com.gs.collections.api.map |
This package contains interfaces for map API which enhance the performance and functionality of
Map |
| com.gs.collections.api.multimap |
This package contains interfaces for
Multimap. |
| com.gs.collections.api.multimap.bag |
This package contains interfaces for
BagMultimap. |
| com.gs.collections.api.multimap.list |
This package contains interfaces for
ListMultimap. |
| com.gs.collections.api.multimap.ordered | |
| com.gs.collections.api.multimap.set |
This package contains interfaces for
SetMultimap. |
| com.gs.collections.api.multimap.sortedbag |
This package contains interfaces for
SortedBagMultimap. |
| com.gs.collections.api.multimap.sortedset |
This package contains interfaces for
SortedSetMultimap. |
| Modifier and Type | Method and Description |
|---|---|
<V> Multimap<V,T> |
ParallelIterable.groupBy(Function<? super T,? extends V> function) |
<V> Multimap<V,T> |
RichIterable.groupBy(Function<? super T,? extends V> function)
For each element of the iterable, the function is evaluated and the results of these evaluations are collected
into a new multimap, where the transformed value is the key and the original values are added to the same (or similar)
species of collection as the source iterable.
|
<V> Multimap<V,T> |
ParallelIterable.groupByEach(Function<? super T,? extends java.lang.Iterable<V>> function) |
<V> Multimap<V,T> |
RichIterable.groupByEach(Function<? super T,? extends java.lang.Iterable<V>> function)
Similar to
RichIterable.groupBy(Function), except the result of evaluating function will return a collection of keys
for each value. |
| Modifier and Type | Method and Description |
|---|---|
Multimap<V,K> |
MapIterable.flip()
Given a map from Domain -> Range return a multimap from Range -> Domain.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableMultimap<K,V> |
interface |
MutableMultimap<K,V> |
| Modifier and Type | Method and Description |
|---|---|
Multimap<K,V> |
Multimap.newEmpty()
Creates a new instance of the same implementation type, using the default capacity and growth parameters.
|
| Modifier and Type | Method and Description |
|---|---|
<KK extends K,VV extends V> |
MutableMultimap.putAll(Multimap<KK,VV> multimap) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BagMultimap<K,V> |
interface |
ImmutableBagMultimap<K,V> |
interface |
MutableBagMultimap<K,V> |
interface |
UnsortedBagMultimap<K,V> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableListMultimap<K,V> |
interface |
ListMultimap<K,V> |
interface |
MutableListMultimap<K,V> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ReversibleIterableMultimap<K,V> |
interface |
SortedIterableMultimap<K,V> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableSetMultimap<K,V> |
interface |
MutableSetMultimap<K,V> |
interface |
SetMultimap<K,V> |
interface |
UnsortedSetMultimap<K,V> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableSortedBagMultimap<K,V> |
interface |
MutableSortedBagMultimap<K,V> |
interface |
SortedBagMultimap<K,V> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableSortedSetMultimap<K,V> |
interface |
MutableSortedSetMultimap<K,V> |
interface |
SortedSetMultimap<K,V> |