public static class ValueWrapper.Float extends java.lang.Object implements ValueWrapper
ValueWrapper.Bool, ValueWrapper.Float, ValueWrapper.Int, ValueWrapper.Obj
Constructor and Description |
---|
Float(float value) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanValue()
Return the value as a boolean.
|
float |
getFloatValue()
Return the value as a float.
|
int |
getIntValue()
Return the value as an int.
|
java.lang.Object |
getValue()
Return the value.
|
void |
setBooleanValue(boolean value)
Set the value as a boolean.
|
void |
setFloatValue(float value)
Set the value as a float.
|
void |
setIntValue(int value)
Set the value as an int.
|
void |
setValue(java.lang.Object value)
Set the value.
|
public final boolean getBooleanValue()
ValueWrapper
getBooleanValue
in interface ValueWrapper
public final float getFloatValue()
ValueWrapper
getFloatValue
in interface ValueWrapper
public final int getIntValue()
ValueWrapper
getIntValue
in interface ValueWrapper
public java.lang.Object getValue()
ValueWrapper
getValue
in interface ValueWrapper
public final void setIntValue(int value)
ValueWrapper
setIntValue
in interface ValueWrapper
value
- the value as an intpublic final void setFloatValue(float value)
ValueWrapper
setFloatValue
in interface ValueWrapper
value
- the value as a floatpublic void setBooleanValue(boolean value)
ValueWrapper
setBooleanValue
in interface ValueWrapper
value
- the value as a booleanpublic void setValue(java.lang.Object value)
ValueWrapper
setValue
in interface ValueWrapper
value
- the valueCopyright © 2018 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence