Class Map

java.lang.Object
org.opensearch.common.collect.Map

@Deprecated(forRemoval=true) public class Map extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Java 9 Map
Opensearch.internal:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Map()
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <K, V> Map<K,V>
    copyOf(Map<? extends K,? extends V> map)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Delegates to the Java10 Map.copyOf() method.
    static <K, V> Map.Entry<K,V>
    entry(K k, V v)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Delegates to the Java9 Map.entry() method.
    static <K, V> Map<K,V>
    of()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Delegates to the Java9 Map.of() method.
    static <K, V> Map<K,V>
    of(K k1, V v1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Delegates to the Java9 Map.of() method.
    static <K, V> Map<K,V>
    of(K k1, V v1, K k2, V v2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Delegates to the Java9 Map.of() method.
    static <K, V> Map<K,V>
    of(K k1, V v1, K k2, V v2, K k3, V v3)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Delegates to the Java9 Map.of() method.
    static <K, V> Map<K,V>
    of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Delegates to the Java9 Map.of() method.
    static <K, V> Map<K,V>
    of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Delegates to the Java9 Map.of() method.
    static <K, V> Map<K,V>
    of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Delegates to the Java9 Map.of() method.
    static <K, V> Map<K,V>
    of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Delegates to the Java9 Map.of() method.
    static <K, V> Map<K,V>
    of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Delegates to the Java9 Map.of() method.
    static <K, V> Map<K,V>
    of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Delegates to the Java9 Map.of() method.
    static <K, V> Map<K,V>
    of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9, K k10, V v10)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Delegates to the Java9 Map.of() method.
    static <K, V> Map<K,V>
    ofEntries(Map.Entry<? extends K,? extends V>... entries)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Delegates to the Java9 Map.ofEntries() method.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Map

      public Map()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • of

      public static <K, V> Map<K,V> of()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Delegates to the Java9 Map.of() method.
    • of

      public static <K, V> Map<K,V> of(K k1, V v1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Delegates to the Java9 Map.of() method.
    • of

      public static <K, V> Map<K,V> of(K k1, V v1, K k2, V v2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Delegates to the Java9 Map.of() method.
    • of

      public static <K, V> Map<K,V> of(K k1, V v1, K k2, V v2, K k3, V v3)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Delegates to the Java9 Map.of() method.
    • of

      public static <K, V> Map<K,V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Delegates to the Java9 Map.of() method.
    • of

      public static <K, V> Map<K,V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Delegates to the Java9 Map.of() method.
    • of

      public static <K, V> Map<K,V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Delegates to the Java9 Map.of() method.
    • of

      public static <K, V> Map<K,V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Delegates to the Java9 Map.of() method.
    • of

      public static <K, V> Map<K,V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Delegates to the Java9 Map.of() method.
    • of

      public static <K, V> Map<K,V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Delegates to the Java9 Map.of() method.
    • of

      public static <K, V> Map<K,V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9, K k10, V v10)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Delegates to the Java9 Map.of() method.
    • ofEntries

      @SafeVarargs public static <K, V> Map<K,V> ofEntries(Map.Entry<? extends K,? extends V>... entries)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Delegates to the Java9 Map.ofEntries() method.
    • entry

      public static <K, V> Map.Entry<K,V> entry(K k, V v)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Delegates to the Java9 Map.entry() method.
    • copyOf

      public static <K, V> Map<K,V> copyOf(Map<? extends K,? extends V> map)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Delegates to the Java10 Map.copyOf() method.