/**
* Wrapper for an float value.
- *
+ *
* @author Kyle Galloway <kgallowa@redhat.com>
*/
public final class FloatValue
/**
* Create a new FloatValue from an float
- *
+ *
* @param value the float to wrap
*/
public FloatValue(float value)
super(JdwpConstants.Tag.FLOAT);
_value = value;
}
-
+
/**
* Get the value held in this Value
- *
+ *
* @return the value represented by this Value object
*/
public float getValue()
{
return _value;
}
-
+
/**
* Return an object representing this type
- *
+ *
* @return an Object represntation of this value
*/
@Override
/**
* Write the wrapped float to the given DataOutputStream.
- *
+ *
* @param os the output stream to write to
*/
@Override
os.writeFloat(_value);
}
}
-