public class FloatVariable extends Variable
Constructor and Description |
---|
FloatVariable(float value)
Creates the variable
|
FloatVariable(float value,
long expirationTime)
Creates the variable
|
Modifier and Type | Method and Description |
---|---|
Object |
get()
Gets the value of this variable.
|
String |
toString() |
ofType, ofType, ofType, shouldExpire, shouldSave, toType
public FloatVariable(float value)
value
- the value of the variablepublic FloatVariable(float value, long expirationTime)
value
- the value of the variableexpirationTime
- when (in millis) the variable should expireCopyright © 2020. All rights reserved.