Class ConfigMapCreator<K,​V>


  • public class ConfigMapCreator<K,​V>
    extends java.lang.Object
    • Field Detail

      • keyClass

        @NotNull
        protected final @NotNull java.lang.Class<K> keyClass
      • valueClass

        @NotNull
        protected final @NotNull java.lang.Class<V> valueClass
    • Constructor Detail

      • ConfigMapCreator

        public ConfigMapCreator​(@NotNull
                                @NotNull java.lang.Class<K> keyClass,
                                @NotNull
                                @NotNull java.lang.Class<V> valueClass)
    • 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()