Class RandomBooleanProperty
java.lang.Object
dev.prozilla.pine.common.property.random.RandomProperty<Boolean>
dev.prozilla.pine.common.property.random.RandomBooleanProperty
- All Implemented Interfaces:
BooleanProperty,NonNullProperty<Boolean>,Property<Boolean>,Functor<Boolean>
- Direct Known Subclasses:
LocalRandomBooleanProperty
A property with a randomized boolean value.
-
Field Summary
Fields inherited from class dev.prozilla.pine.common.property.random.RandomProperty
globalRandomFields 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.random.RandomProperty
getRandom, setGlobalSeed, setSeedMethods 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, getValue, getValueOr, has, hasProperty, ifElse, map, not, or, or, replaceNull, requireValue, xor, xorMethods 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
-
RandomBooleanProperty
public RandomBooleanProperty()
-
-
Method Details
-
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.
-