Class ImmutableStrictMap<K,V>

java.lang.Object
com.polarion.alm.shared.api.utils.collections.ImmutableStrictMap<K,V>
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, ReadOnlyStrictMap<K,V>, Serializable

public final class ImmutableStrictMap<K,V> extends Object implements ReadOnlyStrictMap<K,V>, com.google.gwt.user.client.rpc.IsSerializable, Serializable
Map backed by LinkedHashMap. "Strict" means that it does not allow null keys, and that all methods use generics unlike for example Map.containsKey(Object)
Since:
3.9.0
See Also:
  • Field Details

  • Constructor Details

    • ImmutableStrictMap

      public ImmutableStrictMap()
    • ImmutableStrictMap

      public ImmutableStrictMap(@NotNull Map<K,V> map)
    • ImmutableStrictMap

      public ImmutableStrictMap(@NotNull StrictMap<K,V> map)
    • ImmutableStrictMap

      public ImmutableStrictMap(@NotNull K key, @Nullable V value)
    • ImmutableStrictMap

      public ImmutableStrictMap(@NotNull K key1, @Nullable V value1, @NotNull K key2, @Nullable V value2)
    • ImmutableStrictMap

      public ImmutableStrictMap(@NotNull K key1, @Nullable V value1, @NotNull K key2, @Nullable V value2, @NotNull K key3, @Nullable V value3)
    • ImmutableStrictMap

      public ImmutableStrictMap(@NotNull K key1, @Nullable V value1, @NotNull K key2, @Nullable V value2, @NotNull K key3, @Nullable V value3, @NotNull K key4, @Nullable V value4)
    • ImmutableStrictMap

      public ImmutableStrictMap(@NotNull K key1, @Nullable V value1, @NotNull K key2, @Nullable V value2, @NotNull K key3, @Nullable V value3, @NotNull K key4, @Nullable V value4, @NotNull K key5, @Nullable V value5)
  • Method Details