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