public class XmlMap<K,V>
extends java.lang.Object
implements java.util.Map<K,V>
Constructor and Description |
---|
XmlMap()
Default constructor.
|
XmlMap(java.util.Map<K,V> mapIn)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the map.
|
boolean |
containsKey(java.lang.Object key)
Check for the existence of a key in the map.
|
boolean |
containsValue(java.lang.Object value)
Check for the existence of a value in the map.
|
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet()
Get a set containing all of the entries in the map.
|
V |
get(java.lang.Object key)
Get a value corresponding to a key.
|
boolean |
isEmpty()
Test whether or not the map is empty.
|
java.util.Set<K> |
keySet()
Get a set containing all of the keys in the map.
|
V |
put(K key,
V value)
Add a key-value pair to the map.
|
void |
putAll(java.util.Map<? extends K,? extends V> map)
Copy the elements of another map into this map.
|
V |
remove(java.lang.Object key)
Remove an entry from the map.
|
int |
size()
Get the number of elements in the map.
|
java.util.Collection<V> |
values()
Get a collection containing the values in the map.
|
public void clear()
public boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)
public java.util.Set<java.util.Map.Entry<K,V>> entrySet()
public boolean isEmpty()
public V get(java.lang.Object key)
public java.util.Set<K> keySet()
public void putAll(java.util.Map<? extends K,? extends V> map)
public V remove(java.lang.Object key)
public int size()