Uses of Class
net.sf.staccatocommons.lang.MapBuilder

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
<K,V> MapBuilder<K,V,Map<K,V>>
MapBuilder.from(Map<K,V> map)
          Creates a new MapBuilder that uses the given map instance, and using toUnmodifiableMap() as postprocessor.
static
<K,V> MapBuilder<K,V,Map<K,V>>
MapBuilder.linkedMapWith(K key, V value)
          Creates a new MapBuilder using a LinkedHashMap as map implementation and the first key and value.
static
<K,V> MapBuilder<K,V,Map<K,V>>
MapBuilder.mapWith(K key, V value)
          Creates a new MapBuilder using a HashMap as map implementation and the first key and value.
static
<K,V> MapBuilder<K,V,SortedMap<K,V>>
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().
 



Copyright © 2010-2012 Staccatocommons. All Rights Reserved.