Package org.reactfx
Interface Guard
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
BiGuard,CloseableOnceGuard,MultiGuard
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Guard extends java.lang.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description static GuardEMPTY_GUARD
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidclose()Releases this guard.default GuardcloseableOnce()static GuardcloseableOnce(Guard guard)static Guardmulti(Guard... guards)Returns a guard that is a composition of multiple guards.
-