Interface IValueAccessor<V>

    • Method Detail

      • get

        V get()
        Gets the value. This will return null if no value is present.
        Returns:
        The value
      • hasValue

        boolean hasValue()
        Checks if a value is present.
        Returns:
        true if a value is present, false otherwise
      • removeValue

        void removeValue()
        Removes the value (so that hasValue() returns false).
      • set

        void set​(V value)
        Sets the value. This will make hasValue() return true.
        Parameters:
        value - The value to set