Interface Char2ObjectFunction<V>

    • Method Detail

      • get

        V get​(char key)
        Returns the value to which the given key is mapped.
        Parameters:
        key - the key.
        Returns:
        the corresponding value, or the default return value if no value was present for the given key.
        See Also:
        Function.get(Object)
      • defaultReturnValue

        void defaultReturnValue​(V rv)
        Sets the default return value. 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.
        Parameters:
        rv - the new default return value.
        See Also:
        defaultReturnValue()
      • defaultReturnValue

        V defaultReturnValue()
        Gets the default return value.
        Returns:
        the current default return value.