public class AbstractIterableGetMapDecorator<K,V> extends Object implements IterableGet<K,V>
Modifier | Constructor and Description |
---|---|
protected |
AbstractIterableGetMapDecorator()
Constructor only used in deserialization, do not use otherwise.
|
|
AbstractIterableGetMapDecorator(Map<K,V> decorated)
Create a new AbstractSplitMapDecorator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
protected Map<K,V> |
decorated()
Gets the map being decorated.
|
Set<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object object) |
V |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
Set<K> |
keySet() |
MapIterator<K,V> |
mapIterator()
Get a MapIterator over this Get.
|
V |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<V> |
values() |
public AbstractIterableGetMapDecorator(Map<K,V> decorated)
decorated
- the Map to decorateprotected AbstractIterableGetMapDecorator()
public boolean containsKey(Object key)
containsKey
in interface Get<K,V>
Map.containsKey(Object)
public boolean containsValue(Object value)
containsValue
in interface Get<K,V>
Map.containsValue(Object)
public Set<Map.Entry<K,V>> entrySet()
entrySet
in interface Get<K,V>
Map.entrySet()
public V remove(Object key)
remove
in interface Get<K,V>
Map.remove(Object)
public boolean isEmpty()
isEmpty
in interface Get<K,V>
Map.isEmpty()
public int size()
size
in interface Get<K,V>
Map.size()
public Collection<V> values()
values
in interface Get<K,V>
Map.values()
public MapIterator<K,V> mapIterator()
mapIterator
in interface IterableGet<K,V>
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.