public class ManyMap extends Object
| Constructor and Description |
|---|
ManyMap() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
get(String key)
Method to retrieve the list of values for a specified key
If the key is not found, return an empty list
|
List<String> |
getList(String key)
Method to retrieve the list of values for a specified key
If the key is not found, return an empty list
|
Set<String> |
keySet()
Returns a key set
|
static ManyMap |
of(Map<String,String> map) |
void |
put(String key,
String... values)
Method to add a value to the specified key
|
URequest |
toRequest(Reader reader)
Create new Servlet request
|
public List<String> getList(String key)
public String[] get(String key)
Copyright 2015, Pavel Ponec