|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) SAP Portals Europe GmbH 2001
| Method Summary | |
void |
clear()
Clears the map, i.e. removes all key to value assigments. |
void |
getKeys(java.lang.Object[] keys)
Gets an Array of keys. |
java.util.Enumeration |
getKeysEnumeration()
Gets an Enumeration of all keys |
java.lang.Object |
getValue(java.lang.Object key)
Gets a single value assigned to one key. |
int |
getValueCount(java.lang.Object key)
Gets the number of values assigned to a key. |
void |
getValues(java.lang.Object key,
java.lang.Object[] values)
Gets all values assigned to the specified key as an Array |
java.util.Iterator |
getValuesIterator(java.lang.Object key)
Gets an Iterator of all values assigned to a key. |
void |
put(java.lang.Object key,
java.lang.Object value)
Adds a key->value couple to the map. |
void |
remove(java.lang.Object key)
Removes a key with all its assigned values. |
void |
remove(java.lang.Object key,
java.lang.Object value)
Removes a key/value combination from the map. |
int |
size()
Gets the number of keys that were assigned values. |
| Method Detail |
public void put(java.lang.Object key,
java.lang.Object value)
key - the key identifying a set of valuesvalue - one more value assignd to keypublic void remove(java.lang.Object key)
attribute - The name of the attribute.key -
public void remove(java.lang.Object key,
java.lang.Object value)
key - The key.value - The value that was possibly assigned to key and should
be removed now.public java.util.Enumeration getKeysEnumeration()
Enumeration of all keysEnumeration of all keyspublic void getKeys(java.lang.Object[] keys)
Array of keys.an - keys an Array to contain all the keys that have values
assigned.keys - public int size()
public int getValueCount(java.lang.Object key)
key - the key to retrieve the number of values assigned topublic java.util.Iterator getValuesIterator(java.lang.Object key)
Iterator of all values assigned to a key.key - the key to get all values for.Iterator of all values assigned to key, or
possibly null if no value at all was assigned to
key.
public void getValues(java.lang.Object key,
java.lang.Object[] values)
Arraykey - The name of the queried keyvalues - An array to copy the values assigned to key into.public java.lang.Object getValue(java.lang.Object key)
key - the key to get the value for.public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||