Class AbstractFloat2ByteFunction

    • Method Detail

      • defaultReturnValue

        public void defaultReturnValue​(byte rv)
        Description copied from interface: Float2ByteFunction
        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 Float2ByteFunction
        Parameters:
        rv - the new default return value.
        See Also:
        Float2ByteFunction.defaultReturnValue()
      • defaultReturnValue

        public byte defaultReturnValue()
        Description copied from interface: Float2ByteFunction
        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 Float2ByteFunction
        Returns:
        the current default return value.