Package org.reactfx

Class EventStreams.Pocket<T>

java.lang.Object
org.reactfx.EventStreams.Pocket<T>
Direct Known Subclasses:
EventStreams.ExclusivePocket
Enclosing class:
EventStreams

private static class EventStreams.Pocket<T> extends Object
  • Field Details

    • hasValue

      private boolean hasValue
    • value

      private T value
  • Constructor Details

    • Pocket

      private Pocket()
  • Method Details

    • hasValue

      public boolean hasValue()
    • set

      public void set(T value)
    • get

      public T get()
    • clear

      public void clear()
    • getAndClear

      public T getAndClear()