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