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