Class AbstractByte2CharFunction

    • Method Detail

      • defaultReturnValue

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

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