Class Maps

    • Constructor Detail

      • Maps

        public Maps()
    • Method Detail

      • map

        public static <Key,​Value> Map<Key,​Value> map()
      • map

        public static <Key,​Value> Map<Key,​Value> map​(Map<Key,​Value> arg)
      • toMap

        public static <K,​V> Collector<Pair<K,​V>,​?,​Map<K,​V>> toMap()
      • 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 a Map and one implementation based on a List.
        Type Parameters:
        T - type
        Parameters:
        values - values
        Returns:
        return