at.molindo.utils.collections
Class MapMap<K1,K2,V>
java.lang.Object
at.molindo.utils.collections.MapMap<K1,K2,V>
- All Implemented Interfaces:
- Map<K1,Map<K2,V>>
public class MapMap<K1,K2,V>
- extends Object
- implements Map<K1,Map<K2,V>>
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
|
Method Summary |
void |
clear()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Set<Map.Entry<K1,Map<K2,V>>> |
entrySet()
|
boolean |
equals(Object o)
|
V |
get(K1 key1,
K2 key2)
|
Map<K2,V> |
get(Object key)
|
protected Map<K1,Map<K2,V>> |
getMap()
|
Map<K2,V> |
getMap(K1 key)
|
int |
hashCode()
|
boolean |
isEmpty()
|
Set<K1> |
keySet()
|
protected Map<K1,Map<K2,V>> |
newMap()
|
static
|
newMapMap()
|
V |
put(K1 key1,
K2 key2,
V value)
|
Map<K2,V> |
put(K1 key,
Map<K2,V> value)
|
void |
putAll(K1 key,
Map<K2,V> values)
|
void |
putAll(Map<? extends K1,? extends Map<K2,V>> m)
|
V |
remove(K1 key,
K2 value)
|
Map<K2,V> |
remove(Object key)
|
int |
size()
|
String |
toString()
|
Collection<Map<K2,V>> |
values()
|
MapMap
public MapMap()
newMapMap
public static <K1,K2,V> MapMap<K1,K2,V> newMapMap()
newMap
protected Map<K1,Map<K2,V>> newMap()
getMap
protected Map<K1,Map<K2,V>> getMap()
clear
public void clear()
- Specified by:
clear in interface Map<K1,Map<K2,V>>
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map<K1,Map<K2,V>>
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue in interface Map<K1,Map<K2,V>>
entrySet
public Set<Map.Entry<K1,Map<K2,V>>> entrySet()
- Specified by:
entrySet in interface Map<K1,Map<K2,V>>
equals
public boolean equals(Object o)
- Specified by:
equals in interface Map<K1,Map<K2,V>>- Overrides:
equals in class Object
get
public Map<K2,V> get(Object key)
- Specified by:
get in interface Map<K1,Map<K2,V>>
get
public V get(K1 key1,
K2 key2)
hashCode
public int hashCode()
- Specified by:
hashCode in interface Map<K1,Map<K2,V>>- Overrides:
hashCode in class Object
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map<K1,Map<K2,V>>
keySet
public Set<K1> keySet()
- Specified by:
keySet in interface Map<K1,Map<K2,V>>
put
public V put(K1 key1,
K2 key2,
V value)
put
public Map<K2,V> put(K1 key,
Map<K2,V> value)
- Specified by:
put in interface Map<K1,Map<K2,V>>
putAll
public void putAll(Map<? extends K1,? extends Map<K2,V>> m)
- Specified by:
putAll in interface Map<K1,Map<K2,V>>
putAll
public void putAll(K1 key,
Map<K2,V> values)
remove
public Map<K2,V> remove(Object key)
- Specified by:
remove in interface Map<K1,Map<K2,V>>
remove
public V remove(K1 key,
K2 value)
size
public int size()
- Specified by:
size in interface Map<K1,Map<K2,V>>
values
public Collection<Map<K2,V>> values()
- Specified by:
values in interface Map<K1,Map<K2,V>>
toString
public String toString()
- Overrides:
toString in class Object
getMap
public Map<K2,V> getMap(K1 key)
Copyright © 2013 Molindo GmbH. All Rights Reserved.