|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MapBuilder | |
|---|---|
| net.sf.staccatocommons.lang | This package contains Options, SoftExceptions
and null handling utilities. |
| Uses of MapBuilder in net.sf.staccatocommons.lang |
|---|
| Methods in net.sf.staccatocommons.lang that return MapBuilder | ||
|---|---|---|
static
|
MapBuilder.from(Map<K,V> map)
Creates a new MapBuilder that uses the given map instance, and
using toUnmodifiableMap() as postprocessor. |
|
static
|
MapBuilder.linkedMapWith(K key,
V value)
Creates a new MapBuilder using a LinkedHashMap as map
implementation and the first key and value. |
|
static
|
MapBuilder.mapWith(K key,
V value)
Creates a new MapBuilder using a HashMap as map
implementation and the first key and value. |
|
static
|
MapBuilder.treeMapWith(K key,
V value)
Creates a new MapBuilder using a TreeMap as map
implementation and the first key and value. |
|
MapBuilder<K,V,M> |
MapBuilder.unwrap()
Disables wrapping, which means that a built map will be returned just as it was created. |
|
MapBuilder<K,V,M> |
MapBuilder.with(K key,
V value)
Adds a key-value pair to the map |
|
MapBuilder<K,V,M> |
MapBuilder.with(Map.Entry<K,V> entry)
Adds an entry to the map |
|
MapBuilder<K,V,M> |
MapBuilder.withWrapper(net.sf.staccatocommons.defs.Applicable<M,M> wrapperFunction)
Sets the wrapper function, that is, the Applicable to apply to the
resulting map before returning it through build(). |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||