org.ocpsoft.rewrite.util
Class Maps
java.lang.Object
org.ocpsoft.rewrite.util.Maps
public class Maps
- extends Object
- Author:
- Lincoln Baxter, III
|
Constructor Summary |
Maps()
|
|
Method Summary |
static
|
addArrayValue(Map<T,String[]> map,
T key,
String value)
|
static
|
addListValue(Map<K,List<T>> map,
K key,
T value)
|
static
|
getListValue(Map<String,List<T>> values,
String name,
int index)
|
static Map<String,String[]> |
toArrayMap(Map<String,List<String>> parameterMap)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Maps
public Maps()
addListValue
public static <K,T> void addListValue(Map<K,List<T>> map,
K key,
T value)
addArrayValue
public static <T> void addArrayValue(Map<T,String[]> map,
T key,
String value)
getListValue
public static <T> T getListValue(Map<String,List<T>> values,
String name,
int index)
toArrayMap
public static Map<String,String[]> toArrayMap(Map<String,List<String>> parameterMap)
Copyright © 2012 OCPsoft. All Rights Reserved.