Class ConfigMapBuilder<M extends java.util.Map<K,V>,K,V>
- java.lang.Object
-
- cc.carm.lib.configuration.builder.map.ConfigMapBuilder<M,K,V>
-
public class ConfigMapBuilder<M extends java.util.Map<K,V>,K,V> extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <W extends java.util.Map<K,V>>
ConfigMapBuilder<W,K,V>constructor(@NotNull java.util.function.Supplier<W> supplier)
<S> @NotNull SourceMapBuilder<M,S,K,V>
from(@NotNull ValueType<S> sourceType)
<S> @NotNull SourceMapBuilder<M,S,K,V>
from(@NotNull ValueType<S> sourceType, @NotNull ValueHandler<java.lang.String,K> keyParser, @NotNull ValueHandler<K,java.lang.String> keySerializer, @NotNull ValueHandler<S,V> valueParser, @NotNull ValueHandler<V,S> valueSerializer)
<S> @NotNull SourceMapBuilder<M,S,K,V>
from(@NotNull java.lang.Class<S> clazz)
@NotNull SectionMapBuilder<M,K,V>
fromSection()
@NotNull SectionMapBuilder<M,K,V>
fromSection(@NotNull ValueHandler<java.lang.String,K> keyParser, @NotNull ValueHandler<K,java.lang.String> keySerializer, @NotNull ValueHandler<ConfigureSection,V> valueParser, @NotNull ValueHandler<V,java.util.Map<java.lang.String,java.lang.Object>> valueSerializer)
@NotNull SourceMapBuilder<M,java.lang.String,K,V>
fromString()
-
-
-
Method Detail
-
constructor
public <W extends java.util.Map<K,V>> ConfigMapBuilder<W,K,V> constructor(@NotNull @NotNull java.util.function.Supplier<W> supplier)
-
from
@NotNull public <S> @NotNull SourceMapBuilder<M,S,K,V> from(@NotNull @NotNull java.lang.Class<S> clazz)
-
from
@NotNull public <S> @NotNull SourceMapBuilder<M,S,K,V> from(@NotNull @NotNull ValueType<S> sourceType)
-
from
@NotNull public <S> @NotNull SourceMapBuilder<M,S,K,V> from(@NotNull @NotNull ValueType<S> sourceType, @NotNull @NotNull ValueHandler<java.lang.String,K> keyParser, @NotNull @NotNull ValueHandler<K,java.lang.String> keySerializer, @NotNull @NotNull ValueHandler<S,V> valueParser, @NotNull @NotNull ValueHandler<V,S> valueSerializer)
-
fromString
@NotNull public @NotNull SourceMapBuilder<M,java.lang.String,K,V> fromString()
-
fromSection
@NotNull public @NotNull SectionMapBuilder<M,K,V> fromSection()
-
fromSection
@NotNull public @NotNull SectionMapBuilder<M,K,V> fromSection(@NotNull @NotNull ValueHandler<java.lang.String,K> keyParser, @NotNull @NotNull ValueHandler<K,java.lang.String> keySerializer, @NotNull @NotNull ValueHandler<ConfigureSection,V> valueParser, @NotNull @NotNull ValueHandler<V,java.util.Map<java.lang.String,java.lang.Object>> valueSerializer)
-
-