| Constructor and Description |
|---|
PartitionedMap() |
PartitionedMap(Map parent,
Map child) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all mappings from this map (optional operation).
|
boolean |
containsKey(Object key)
Returns true if this map contains a mapping for the specified
key.
|
boolean |
containsValue(Object value)
Returns true if this map maps one or more keys to the
specified value.
|
static Map |
create(Map parent,
Map child) |
Set |
entrySet()
Returns a set view of the mappings contained in this map.
|
Object |
get(Object key)
Returns the value to which this map maps the specified key.
|
Map |
getParent() |
boolean |
isEmpty()
Returns true if this map contains no key-value mappings.
|
Set |
keySet()
Returns a set view of the keys contained in this map.
|
Object |
put(Object key,
Object value)
Associates the specified value with the specified key in this map
(optional operation).
|
void |
putAll(Map t)
Copies all of the mappings from the specified map to this map (optional
operation).
|
Object |
remove(Object key)
Removes the mapping for this key from this map if present (optional
operation).
|
void |
setParent(Map newParent) |
int |
size()
Returns the number of key-value mappings in this map.
|
String |
toString() |
Collection |
values()
Returns a collection view of the values contained in this map.
|
public void clear()
public boolean containsKey(Object key)
containsKey in interface Mapkey - key whose presence in this map is to be tested.public boolean containsValue(Object value)
containsValue in interface Mapvalue - value whose presence in this map is to be tested.public Set entrySet()
public Object get(Object key)
get in interface Mapkey - key whose associated value is to be returned.containsKey(Object)public Map getParent()
public boolean isEmpty()
public Set keySet()
public Object put(Object key, Object value)
put in interface Mapkey - key with which the specified value is to be associated.value - value to be associated with the specified key.public void putAll(Map t)
public Object remove(Object key)
remove in interface Mapkey - key whose mapping is to be removed from the map.public void setParent(Map newParent)
public int size()
public Collection values()
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.