Class Ref<E>


  • public final class Ref<E>
    extends Object
    • Method Detail

      • get

        public E get()
      • set

        public Ref<E> set​(E value)
      • lock

        public Ref<E> lock()
      • isPresent

        public boolean isPresent()
      • isEmpty

        public boolean isEmpty()
      • of

        public static <E> Ref<E> of()
      • of

        public static <E> Ref<E> of​(E value)