Class Reference2FloatFunctions.UnmodifiableFunction<K>

    • 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.
      float defaultReturnValue()
      Gets the default return value.
      void defaultReturnValue​(float defRetValue)
      Sets the default return value (optional operation).
      boolean equals​(Object o)  
      Float get​(Object k)
      Deprecated.
      Please use the corresponding type-specific method instead.
      float getFloat​(Object k)
      Returns the value to which the given key is mapped.
      int hashCode()  
      float put​(K k, float v)
      Adds a pair to the map (optional operation).
      Float put​(K k, Float v)
      Deprecated.
      Please use the corresponding type-specific method instead.
      Float remove​(Object k)
      Deprecated.
      Please use the corresponding type-specific method instead.
      float removeFloat​(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

        apply