Class RMapBySrc<K,​V>

  • All Implemented Interfaces:
    RMap<K,​V>, java.util.Map<K,​V>

    public class RMapBySrc<K,​V>
    extends java.lang.Object
    implements RMap<K,​V>
    • Constructor Detail

      • RMapBySrc

        public RMapBySrc​(java.util.Map<K,​V> src)
    • Method Detail

      • size

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

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

        public boolean containsKey​(java.lang.Object key)
        Specified by:
        containsKey in interface java.util.Map<K,​V>
      • containsValue

        public boolean containsValue​(java.lang.Object value)
        Specified by:
        containsValue in interface java.util.Map<K,​V>
      • get

        public V get​(java.lang.Object key)
        Specified by:
        get in interface java.util.Map<K,​V>
      • put

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

        public V remove​(java.lang.Object key)
        Specified by:
        remove in interface java.util.Map<K,​V>
      • putAll

        public void putAll​(@NotNull
                           @NotNull java.util.Map<? extends K,​? extends V> m)
        Specified by:
        putAll in interface java.util.Map<K,​V>
        Specified by:
        putAll in interface RMap<K,​V>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Map<K,​V>
        Specified by:
        clear in interface RMap<K,​V>
      • keySet

        @NotNull
        public @NotNull RSet<K> keySet()
        Specified by:
        keySet in interface java.util.Map<K,​V>
        Specified by:
        keySet in interface RMap<K,​V>
      • values

        @NotNull
        public @NotNull RCollection<V> values()
        Specified by:
        values in interface java.util.Map<K,​V>
        Specified by:
        values in interface RMap<K,​V>
      • entrySet

        @NotNull
        public @NotNull RSet<java.util.Map.Entry<K,​V>> entrySet()
        Specified by:
        entrySet in interface java.util.Map<K,​V>
        Specified by:
        entrySet in interface RMap<K,​V>