Class AbstractDouble2LongFunction

    • Method Detail

      • defaultReturnValue

        public void defaultReturnValue​(long rv)
        Description copied from interface: Double2LongFunction
        Sets the default return value (optional operation). This value must be returned by type-specific versions of get(), put() and remove() to denote that the map does not contain the specified key. It must be 0/false/null by default.
        Specified by:
        defaultReturnValue in interface Double2LongFunction
        Parameters:
        rv - the new default return value.
        See Also:
        Double2LongFunction.defaultReturnValue()
      • defaultReturnValue

        public long defaultReturnValue()
        Description copied from interface: Double2LongFunction
        Gets the default return value.

        This default implementation just return the default null value of the type (null for objects, 0 for scalars, false for Booleans).

        Specified by:
        defaultReturnValue in interface Double2LongFunction
        Returns:
        the current default return value.