Class SharedObject.Instance<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private T data
      Cache for last data consumed/produced
    • Constructor Summary

      Constructors 
      Constructor Description
      Instance()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T get()
      Get the current value
      void set​(T data)
      Set a new value
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait