public class IntegerVariable extends Variable
Constructor and Description |
---|
IntegerVariable(int value)
Creates the variable
|
IntegerVariable(int 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 IntegerVariable(int value)
value
- the value of the variablepublic IntegerVariable(int value, long expirationTime)
value
- the value of the variableexpirationTime
- when (in millis) the variable should expireCopyright © 2020. All rights reserved.