Interface FixedSizeMap<K,​V>

    • Method Detail

      • clear

        void clear()
        Specified by:
        clear in interface java.util.Map<K,​V>
        Throws:
        java.lang.UnsupportedOperationException - the clear operation is not supported by this map.
      • put

        V put​(K key,
              V value)
        Specified by:
        put in interface java.util.Map<K,​V>
        Throws:
        java.lang.UnsupportedOperationException - the put operation is not supported by this map.
      • putAll

        void putAll​(java.util.Map<? extends K,​? extends V> map)
        Specified by:
        putAll in interface java.util.Map<K,​V>
        Throws:
        java.lang.UnsupportedOperationException - the putAll operation is not supported by this map.
      • remove

        V remove​(java.lang.Object key)
        Specified by:
        remove in interface java.util.Map<K,​V>
        Throws:
        java.lang.UnsupportedOperationException - the remove operation is not supported by this map.
      • removeKey

        V removeKey​(K key)
        Description copied from interface: MutableMapIterable
        Remove an entry from the map at the specified key.
        Specified by:
        removeKey in interface MutableMapIterable<K,​V>
        Returns:
        The value removed from entry at key, or null if not found.
        Throws:
        java.lang.UnsupportedOperationException - the removeKey operation is not supported by this map.
        See Also:
        Map.remove(Object)
      • removeAllKeys

        boolean removeAllKeys​(java.util.Set<? extends K> keys)
        Description copied from interface: MutableMapIterable
        Remove entries from the map at the specified keys.
        Specified by:
        removeAllKeys in interface MutableMapIterable<K,​V>
        Returns:
        true if this map changed as a result of the call
        Throws:
        java.lang.UnsupportedOperationException - the removeAllKeys operation is not supported by this map.
      • removeIf

        boolean removeIf​(Predicate2<? super K,​? super V> predicate)
        Description copied from interface: MutableMapIterable
        Remove an entry from the map if the predicate evaluates to true.
        Specified by:
        removeIf in interface MutableMapIterable<K,​V>
        Returns:
        true if any entry is removed.
        Throws:
        java.lang.UnsupportedOperationException - the removeIf operation is not supported by this map.