Class SharedInteger.Instance

    • Field Summary

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

      Constructors 
      Constructor Description
      Instance()  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Integer get()
      Deprecated.
      int intValue()
      Get the variables value.
      void set​(int data)
      Set the variables value.
      void set​(java.lang.Integer data)
      Deprecated.
      • Methods inherited from class java.lang.Object

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

      • data

        private int data
        Cache for last data consumed/produced
    • Constructor Detail

      • Instance

        public Instance()
    • Method Detail

      • intValue

        public int intValue()
        Get the variables value.
        Returns:
        Integer value
      • set

        public void set​(int data)
        Set the variables value.
        Parameters:
        data - New value