Interface Reference<T,​A>

    • Method Detail

      • get

        T get()
        Get the value, or null if the reference has been cleared.
        Returns:
        the value
      • getAttachment

        A getAttachment()
        Get the attachment, if any.
        Returns:
        the attachment
      • clear

        void clear()
        Clear the reference.
      • getType

        Reference.Type getType()
        Get the type of the reference.
        Returns:
        the type