|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MultiValuedMap
Copyright (c) SAP Portals Europe GmbH 2001
| Method Summary | |
|---|---|
void |
clear()
Clears the map, i.e. removes all key to value assigments. |
void |
getKeys(Object[] keys)
Gets an Array of keys. |
Enumeration |
getKeysEnumeration()
Gets an Enumeration of all keys |
Object |
getValue(Object key)
Gets a single value assigned to one key. |
int |
getValueCount(Object key)
Gets the number of values assigned to a key. |
void |
getValues(Object key,
Object[] values)
Gets all values assigned to the specified key as an Array |
Iterator |
getValuesIterator(Object key)
Gets an Iterator of all values assigned to a key. |
void |
put(Object key,
Object value)
Adds a key->value couple to the map. |
void |
remove(Object key)
Removes a key with all its assigned values. |
void |
remove(Object key,
Object value)
Removes a key/value combination from the map. |
int |
size()
Gets the number of keys that were assigned values. |
| Method Detail |
|---|
void put(Object key,
Object value)
key - the key identifying a set of valuesvalue - one more value assignd to keyvoid remove(Object key)
key - The key.
void remove(Object key,
Object value)
key - The key.value - The value that was possibly assigned to key and should
be removed now.Enumeration getKeysEnumeration()
Enumeration of all keys
Enumeration of all keysvoid getKeys(Object[] keys)
Array of keys.
keys - an Array to contain all the keys that have values
assigned.int size()
int getValueCount(Object key)
key - the key to retrieve the number of values assigned to
Iterator getValuesIterator(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.
void getValues(Object key,
Object[] values)
Array
key - The name of the queried keyvalues - An array to copy the values assigned to key into.Object getValue(Object key)
key - the key to get the value for.
void clear()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||