Class Object2FloatFunctions.PrimitiveFunction<K>

    • Method Detail

      • containsKey

        public boolean containsKey​(Object key)
        Description copied from interface: Function
        Returns true if this function contains a mapping for the specified key.

        Note that for some kind of functions (e.g., hashes) this method will always return true. This default implementation, in particular, always return true.

        Specified by:
        containsKey in interface Function<K,​Float>
        Parameters:
        key - the key.
        Returns:
        true if this function associates a value to key.
        See Also:
        Map.containsKey(Object)