Class ObjectReference<T>


  • public final class ObjectReference<T>
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      T get()  
      boolean isEmpty()  
      boolean isPresent()  
      void set​(java.util.function.UnaryOperator<T> mapper)  
      void set​(T value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectReference

        public ObjectReference()
      • ObjectReference

        @ConstructorProperties("value")
        public ObjectReference​(T value)
    • Method Detail

      • get

        public T get()
      • set

        public void set​(T value)
      • set

        public void set​(java.util.function.UnaryOperator<T> mapper)
      • clear

        public void clear()
      • isPresent

        public boolean isPresent()
      • isEmpty

        public boolean isEmpty()