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