Package net.splitcells.dem.data.set.map
Class Maps
- java.lang.Object
-
- net.splitcells.dem.environment.config.framework.OptionI<T>
-
- net.splitcells.dem.environment.resource.ResourceOptionI<MapF>
-
- net.splitcells.dem.data.set.map.Maps
-
- All Implemented Interfaces:
Option<MapF>
,ResourceOption<MapF>
public class Maps extends ResourceOptionI<MapF>
-
-
Constructor Summary
Constructors Constructor Description Maps()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <Key,Value>
Map<Key,Value>map()
static <Key,Value>
Map<Key,Value>map(Map<Key,Value> arg)
static <K,V>
Collector<Pair<K,V>,?,Map<K,V>>toMap()
static <T> Map<Class<? extends T>,T>
typeMapping(Collection<T> values)
Deprecated.static <T> Map<Class<? extends T>,T>
variadicTypeMapping(T... values)
Deprecated.-
Methods inherited from class net.splitcells.dem.environment.config.framework.OptionI
defaultValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.splitcells.dem.environment.config.framework.Option
defaultValue
-
-
-
-
Method Detail
-
map
public static <Key,Value> Map<Key,Value> map()
-
variadicTypeMapping
@Deprecated public static <T> Map<Class<? extends T>,T> variadicTypeMapping(T... values)
Deprecated.TODO Remove this, because it is not used anywhere.
-
typeMapping
@Deprecated public static <T> Map<Class<? extends T>,T> typeMapping(Collection<T> values)
Deprecated.TODO Create dedicated typed mapping interface and implementations. Create one implementation based on aMap
and one implementation based on aList
.- Type Parameters:
T
- type- Parameters:
values
- values- Returns:
- return
-
-