Package org.reactfx

Class EventStreams.Pocket<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean hasValue  
      private T value  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Pocket()  
    • Field Detail

      • hasValue

        private boolean hasValue
      • value

        private T value
    • Constructor Detail

      • Pocket

        private Pocket()
    • Method Detail

      • hasValue

        public boolean hasValue()
      • set

        public void set​(T value)
      • get

        public T get()
      • clear

        public void clear()
      • getAndClear

        public T getAndClear()