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