Class StoredFloatProperty
java.lang.Object
dev.prozilla.pine.common.property.storage.StoredProperty<Float>
dev.prozilla.pine.common.property.storage.StoredFloatProperty
- All Implemented Interfaces:
Destructible,FloatProperty,MutableFloatProperty,MutableObjectProperty<Float>,MutableProperty<Float>,NonNullProperty<Float>,Property<Float>,Functor<Float>
-
Field Summary
Fields inherited from class dev.prozilla.pine.common.property.storage.StoredProperty
key, storage -
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.FloatProperty
getValueOr, has, hasProperty, isZeroProperty, map, replaceNull, requireValueMethods inherited from interface dev.prozilla.pine.common.property.mutable.MutableFloatProperty
modify, setValue, swap, 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
-
StoredFloatProperty
-
-
Method Details
-
set
public boolean set(float value) Description copied from interface:MutableFloatPropertySets the value of this property.- Specified by:
setin interfaceMutableFloatProperty- 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 interfaceFloatProperty- Specified by:
getValuein interfaceProperty<Float>- Specified by:
getValuein classStoredProperty<Float>- Returns:
- The value of this property.
-
get
public float get()Description copied from interface:FloatPropertyReturns the primitive value of this property.- Specified by:
getin interfaceFloatProperty- Returns:
- The primitive value of this property.
-