Class Ref<T>


  • public class Ref<T>
    extends java.lang.Object
    Simple generic class to hold a reference to an object.
    • Constructor Summary

      Constructors 
      Constructor Description
      Ref()  
      Ref​(T obj)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      T get()  
      void set​(T obj)  
      • Methods inherited from class java.lang.Object

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

      • Ref

        public Ref()
      • Ref

        public Ref​(T obj)
    • Method Detail

      • get

        public T get()
      • set

        public void set​(T obj)
      • clear

        public void clear()