Class ConfigMapCreator<K,V>
- java.lang.Object
-
- cc.carm.lib.configuration.core.builder.map.ConfigMapCreator<K,V>
-
public class ConfigMapCreator<K,V> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected @NotNull java.lang.Class<K>
keyClass
protected @NotNull java.lang.Class<V>
valueClass
-
Constructor Summary
Constructors Constructor Description ConfigMapCreator(@NotNull java.lang.Class<K> keyClass, @NotNull java.lang.Class<V> valueClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ConfigMapBuilder<java.util.HashMap<K,V>,K,V>
asHashMap()
@NotNull ConfigMapBuilder<java.util.LinkedHashMap<K,V>,K,V>
asLinkedMap()
<M extends java.util.Map<K,V>>
@NotNull ConfigMapBuilder<M,K,V>asMap(java.util.function.Supplier<M> mapSuppler)
@NotNull ConfigMapBuilder<java.util.TreeMap<K,V>,K,V>
asTreeMap()
-
-
-
Method Detail
-
asMap
@NotNull public <M extends java.util.Map<K,V>> @NotNull ConfigMapBuilder<M,K,V> asMap(java.util.function.Supplier<M> mapSuppler)
-
asHashMap
@NotNull public @NotNull ConfigMapBuilder<java.util.HashMap<K,V>,K,V> asHashMap()
-
asLinkedMap
@NotNull public @NotNull ConfigMapBuilder<java.util.LinkedHashMap<K,V>,K,V> asLinkedMap()
-
asTreeMap
@NotNull public @NotNull ConfigMapBuilder<java.util.TreeMap<K,V>,K,V> asTreeMap()
-
-