Added Form converter

This commit is contained in:
Arjen Poutsma
2009-02-24 12:59:59 +00:00
parent e35201fc78
commit 2d0705467a
3 changed files with 199 additions and 0 deletions

View File

@@ -44,6 +44,14 @@ public class LinkedMultiValueMap<K, V> implements MultiValueMap<K, V> {
this.targetMap = new LinkedHashMap<K, List<V>>();
}
/**
* Create a new SimpleMultiValueMap that wraps a newly created {@link LinkedHashMap} with the given initial capacity.
* @param initialCapacity the initial capacity
*/
public LinkedMultiValueMap(int initialCapacity) {
this.targetMap = new LinkedHashMap<K, List<V>>(initialCapacity);
}
/**
* Create a new SimpleMultiValueMap that wraps the given target Map.
* <p>Note: The given Map will be used as active underlying Map.