Package org.reactfx

Interface Guardian

All Known Subinterfaces:
Binding<T>, Observable, ObservableList<E>, ObservableValue<T>, Property<T>, SuspendableList<E>
All Known Implementing Classes:
BiGuardian, BooleanBinding, BooleanPropertyBase, DoubleBinding, DoublePropertyBase, FloatBinding, FloatPropertyBase, Indicator, IntegerBinding, IntegerPropertyBase, LongBinding, LongPropertyBase, MultiGuardian, ObjectBinding, ObjectPropertyBase, ObservableValueBase, ReadOnlyBooleanPropertyBase, ReadOnlyBooleanWrapper, ReadOnlyDoublePropertyBase, ReadOnlyDoubleWrapper, ReadOnlyFloatPropertyBase, ReadOnlyFloatWrapper, ReadOnlyIntegerPropertyBase, ReadOnlyIntegerWrapper, ReadOnlyLongPropertyBase, ReadOnlyLongWrapper, ReadOnlyObjectPropertyBase, ReadOnlyObjectWrapper, ReadOnlyStringPropertyBase, ReadOnlyStringWrapper, SimpleBooleanProperty, SimpleDoubleProperty, SimpleFloatProperty, SimpleIntegerProperty, SimpleLongProperty, SimpleObjectProperty, SimpleStringProperty, StringBinding, StringPropertyBase, SuspendableListWrapper
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Deprecated @FunctionalInterface public interface Guardian
Deprecated.
superseded by Suspendable.
Interface for objects usable to guard execution (in some sense).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Guardian
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Guardian
    combine(Guardian... guardians)
    Deprecated.
    Returns a guardian that combines all of the given guardians into one.
    Deprecated.
     
    default void
    Deprecated.
     
    default <T> T
    Deprecated.
     
  • Field Details

    • EMPTY

      static final Guardian EMPTY
      Deprecated.
  • Method Details

    • guard

      Guard guard()
      Deprecated.
    • guardWhile

      default void guardWhile(Runnable r)
      Deprecated.
    • guardWhile

      default <T> T guardWhile(Supplier<T> f)
      Deprecated.
    • combine

      static Guardian combine(Guardian... guardians)
      Deprecated.
      Returns a guardian that combines all of the given guardians into one. Guards will be obtained in the specified order and released in reversed order.