|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object es.rediris.papi.filter.StringListHashMap
public class StringListHashMap
StringListHashMap has the similar behavior than a HashMaps, but the objects stores are multivaluable strings. This class manages the posibility of more than one value for a key and stores the value in a list of string
Constructor Summary | |
---|---|
StringListHashMap()
Constructor, creates a new instance of this object and initialices the hasmap |
Method Summary | |
---|---|
boolean |
containsKey(String key)
Wrapper function for the containsKey method in the HashMap |
String[] |
get(String key)
|
Object |
put(String key,
String value)
Store a pair key,value. |
Object |
put(String key,
String[] values)
|
int |
size()
Return the size of keys stored |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringListHashMap()
Method Detail |
---|
public String[] get(String key)
key
- The identifier
public Object put(String key, String value)
key
- The key identifiervalue
- The string value to store
public Object put(String key, String[] values)
public boolean containsKey(String key)
key
- The identifier
public int size()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |