Package live
Class SimpleLiveBool
java.lang.Object
live.SimpleLiveBool
- All Implemented Interfaces:
LiveBool,MutableLiveBool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddListener(FunctionBoolBoolToVoid listener) booleangetValue()voidsetValue(boolean value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface live.MutableLiveBool
toggle
-
Constructor Details
-
SimpleLiveBool
public SimpleLiveBool(boolean value)
-
-
Method Details
-
addListener
- Specified by:
addListenerin interfaceLiveBool
-
getValue
public boolean getValue() -
setValue
public void setValue(boolean value) - Specified by:
setValuein interfaceMutableLiveBool
-