Class BiMap.CopyMapWrapper<K,V>

java.lang.Object
io.karma.kommons.collection.BiMap.CopyMapWrapper<K,V>
All Implemented Interfaces:
BiMap<K,V>, Map<K,V>
Enclosing interface:
BiMap<K,V>

public static class BiMap.CopyMapWrapper<K,V> extends Object implements BiMap<K,V>
  • Method Details

    • getForValue

      @Nullable public K getForValue(@Nullable V value)
      Specified by:
      getForValue in interface BiMap<K,V>
    • size

      public int size()
      Specified by:
      size in interface Map<K,V>
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface Map<K,V>
    • containsKey

      public boolean containsKey(@Nullable @Nullable Object key)
      Specified by:
      containsKey in interface Map<K,V>
    • containsValue

      public boolean containsValue(@Nullable @Nullable Object value)
      Specified by:
      containsValue in interface Map<K,V>
    • get

      public V get(@Nullable @Nullable Object key)
      Specified by:
      get in interface Map<K,V>
    • put

      @Nullable public V put(@Nullable K key, @Nullable V value)
      Specified by:
      put in interface Map<K,V>
    • remove

      public V remove(@Nullable @Nullable Object key)
      Specified by:
      remove in interface Map<K,V>
    • putAll

      public void putAll(Map<? extends K,? extends V> m)
      Specified by:
      putAll in interface Map<K,V>
    • clear

      public void clear()
      Specified by:
      clear in interface Map<K,V>
    • keySet

      @NotNull public @NotNull Set<K> keySet()
      Specified by:
      keySet in interface Map<K,V>
    • values

      @NotNull public @NotNull Collection<V> values()
      Specified by:
      values in interface Map<K,V>
    • entrySet

      @NotNull public @NotNull Set<Map.Entry<K,V>> entrySet()
      Specified by:
      entrySet in interface Map<K,V>