Class Object2ReferenceFunctions.UnmodifiableFunction<K,​V>

    • Method Summary

      Modifier and Type Method Description
      void clear()
      Removes all associations from this function (optional operation).
      boolean containsKey​(Object k)
      Returns true if this function contains a mapping for the specified key.
      V defaultReturnValue()
      Gets the default return value.
      void defaultReturnValue​(V defRetValue)
      Sets the default return value (optional operation).
      boolean equals​(Object o)  
      V get​(Object k)
      Returns the value to which the given key is mapped.
      int hashCode()  
      V put​(K k, V v)
      Adds a pair to the map (optional operation).
      V remove​(Object k)
      Removes the mapping with the given key (optional operation).
      int size()
      Returns the intended number of keys in this function, or -1 if no such number exists.
      String toString()  
      • Methods inherited from interface it.unimi.dsi.fastutil.Function