| Modifier and Type | Interface and Description |
|---|---|
interface |
InvertibleMultiMap<K,V>
An
InvertibleMultiMap is an extension of the
MultiMap interface to allow users to do reverse lookups on
the mappings maintained. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMultiMap<K,V>
This class provides a skeletal implementation of the
MultiMap
interface, to minimize the effort requires to implement this interface. |
class |
GenericInvertibleMultiMap<K,V>
GenericInvertibleMultiMap is a default implementation of
InvertibleMultiMap. |
class |
GenericMultiMap<K,V>
GenericMultiMap is a default implementation of a
MultiMap. |
class |
UnmodifiableMultiMap<K,V>
UnmodifiableMultiMap is an abstract superclass to
save developers the trouble of implementing the various mutator
methds of the MultiMap interface. |
| Modifier and Type | Field and Description |
|---|---|
static MultiMap |
Default.EMPTY_MULTIMAP
An empty multi-map.
|
| Modifier and Type | Method and Description |
|---|---|
MultiMap<K,V> |
MultiMapSet.asMap() |
MultiMap<K,V> |
MultiMapSet.asMultiMap() |
static <K,V> MultiMap<K,V> |
Default.EMPTY_MULTIMAP()
An empty multi-map, parameterized to play nicely with Java's
type system.
|
MultiMap<V,K> |
GenericInvertibleMap.invert()
Returns an unmodifiable inverted view of
this. |
MultiMap<V,K> |
InvertibleMap.invert()
Returns a inverted view of
this. |
MultiMap<K,V> |
MultiMapFactory.makeMap() |
MultiMap<K,V> |
MultiMapFactory.makeMap(java.util.Map<? extends K,? extends V> map) |
MultiMap<K,V> |
MultiMapFactory.makeMultiMap()
Create a new, empty,
MultiMap. |
MultiMap<K,V> |
PersistentMultiMapFactory.makeMultiMap()
Generates a new unsynchronized mutable
MultiMap which
is based on persistent randomized treaps. |
MultiMap<K,V> |
MultiMapFactory.makeMultiMap(MultiMap<? extends K,? extends V> map)
|
static <K,V> MultiMap<K,V> |
UnmodifiableMultiMap.proxy(MultiMap<K,V> mmap)
Constructs and returns an unmodifiable
MultiMap
backed by mmap. |
protected abstract MultiMap<K,V> |
UnmodifiableMultiMap.wrapped() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractMultiMap.addAll(MultiMap<? extends K,? extends V> mm)
Add all mappings in the given multimap to this multimap.
|
boolean |
MultiMap.addAll(MultiMap<? extends K,? extends V> mm)
Adds all mappings in the given multimap to this multimap.
|
boolean |
GenericInvertibleMultiMap.addAll(MultiMap<? extends K,? extends V> mm) |
boolean |
UnmodifiableMultiMap.addAll(MultiMap<? extends K,? extends V> mm)
Throws
UnsupportedOperationException. |
MultiMap<K,V> |
MultiMapFactory.makeMultiMap(MultiMap<? extends K,? extends V> map)
|
static <K,V> MultiMap<K,V> |
UnmodifiableMultiMap.proxy(MultiMap<K,V> mmap)
Constructs and returns an unmodifiable
MultiMap
backed by mmap. |
| Constructor and Description |
|---|
GenericInvertibleMultiMap(MultiMap<? extends K,? extends V> mm) |
Copyright (c) 2006 C. Scott Ananian