com.sun.enterprise.util
Class MapBuilder<K,V>
java.lang.Object
com.sun.enterprise.util.MapBuilder<K,V>
public class MapBuilder<K,V>
- extends Object
Convenience class for building a literal map.
The method follows the fluent API pattern.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapBuilder
public MapBuilder(Map<K,V> map)
MapBuilder
public MapBuilder()
put
public MapBuilder<K,V> put(K k,
V v)
build
public Map<K,V> build()
- Returns the fully constructed map.
Copyright © 2012 GlassFish Community. All Rights Reserved.