public class FloatReadField extends ReadField
Constructor and Description |
---|
FloatReadField(SerializableField field)
Construct a new instance with the default value.
|
FloatReadField(SerializableField field,
float value)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
float |
getFloat()
Get the float value of this field.
|
Kind |
getKind()
Get the kind of field represented by this object.
|
public FloatReadField(SerializableField field, float value)
field
- the serializable fieldvalue
- the valuepublic FloatReadField(SerializableField field)
field
- the serializable fieldpublic Kind getKind()
public float getFloat() throws IOException
getFloat
in class ReadField
IOException
- if the value cannot be readCopyright © 2018 JBoss by Red Hat. All rights reserved.