Class StoredBooleanProperty
java.lang.Object
dev.prozilla.pine.common.property.storage.StoredProperty<Boolean>
dev.prozilla.pine.common.property.storage.StoredBooleanProperty
- All Implemented Interfaces:
Destructible,BooleanProperty,MutableBooleanProperty,MutableObjectProperty<Boolean>,MutableProperty<Boolean>,NonNullProperty<Boolean>,Property<Boolean>,Functor<Boolean>
public class StoredBooleanProperty
extends StoredProperty<Boolean>
implements MutableBooleanProperty
-
Field Summary
Fields inherited from class dev.prozilla.pine.common.property.storage.StoredProperty
key, storageFields inherited from interface dev.prozilla.pine.common.property.BooleanProperty
FALSE, TRUE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dev.prozilla.pine.common.property.storage.StoredProperty
destroy, isNotNull, setNull, setValue, setValue, toStringPropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.prozilla.pine.common.property.BooleanProperty
and, and, getValueOr, has, hasProperty, ifElse, map, not, or, or, replaceNull, requireValue, xor, xorMethods inherited from interface dev.prozilla.pine.common.property.mutable.MutableBooleanProperty
modify, setValue, swap, toggle, viewPropertyMethods inherited from interface dev.prozilla.pine.common.property.mutable.MutableObjectProperty
stealMethods inherited from interface dev.prozilla.pine.common.property.mutable.MutableProperty
modifyValue, swapValueMethods inherited from interface dev.prozilla.pine.common.property.NonNullProperty
isNotNull, isNotNullPropertyMethods inherited from interface dev.prozilla.pine.common.property.Property
hasValue, hasValueProperty, isNull, map, snapshot, toStringProperty
-
Constructor Details
-
StoredBooleanProperty
-
-
Method Details
-
set
public boolean set(boolean value) Description copied from interface:MutableBooleanPropertySets the value of this property.- Specified by:
setin interfaceMutableBooleanProperty- Parameters:
value- The new value- Returns:
trueif the value was changed.
-
getValue
Description copied from interface:PropertyReturns the value of this property.- Specified by:
getValuein interfaceBooleanProperty- Specified by:
getValuein interfaceProperty<Boolean>- Specified by:
getValuein classStoredProperty<Boolean>- Returns:
- The value of this property.
-
get
public boolean get()Description copied from interface:BooleanPropertyReturns the primitive value of this property.- Specified by:
getin interfaceBooleanProperty- Returns:
- The primitive value of this property.
-