Comparable<ReadField>
public class DoubleReadField extends ReadField
Constructor | 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 | 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 ReadField
IOException
- if the value cannot be readCopyright © 2018 JBoss by Red Hat. All rights reserved.