Package live
Class LivePredicateBool<T>
java.lang.Object
live.LivePredicateBool<T>
- All Implemented Interfaces:
AutoCloseable,BiConsumer<T,,T> LiveBool
public class LivePredicateBool<T>
extends Object
implements LiveBool, AutoCloseable, BiConsumer<T,T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(FunctionBoolBoolToVoid listener) voidclose()booleangetValue()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiConsumer
andThen
-
Constructor Details
-
LivePredicateBool
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
getValue
public boolean getValue() -
addListener
- Specified by:
addListenerin interfaceLiveBool
-
accept
- Specified by:
acceptin interfaceBiConsumer<T,T>
-