rewrite-impl-config 1.0.5.Final

org.ocpsoft.rewrite.util
Class Maps

java.lang.Object
  extended by org.ocpsoft.rewrite.util.Maps

public class Maps
extends Object

Author:
Lincoln Baxter, III

Constructor Summary
Maps()
           
 
Method Summary
static
<T> void
addArrayValue(Map<T,String[]> map, T key, String value)
           
static
<K,T> void
addListValue(Map<K,List<T>> map, K key, T value)
           
static
<T> T
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
 

Constructor Detail

Maps

public Maps()
Method Detail

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)

rewrite-impl-config 1.0.5.Final

Copyright © 2012 OCPsoft. All Rights Reserved.