| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the sort result based on the name of this field and the given fieldthe other field object o)Implements java. |
| public boolean | |
| public byte | |
| public char | |
| public double | |
| public float | |
| public int | |
| public abstract Kind | Returns: the kind of field represented by this objectGet the kind of field represented by this object. |
| public long | |
| public String | |
| public Object | |
| public short | |
| public boolean | Returns: true if this field value was defaulted, false otherwiseDetermine whether this field was defaulted. |
| private static IllegalArgumentException |
| defaulted | back to summary |
|---|---|
| private final boolean defaulted | |
| name | back to summary |
|---|---|
| private final String name | |
| ReadField | back to summary |
|---|---|
| protected ReadField(final String name, final boolean defaulted) Construct a new instance.
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(final ReadField o) Implements java. Compare this field with another on the basis of its name.
| |
| getBoolean | back to summary |
|---|---|
| public boolean getBoolean() throws IOException Get the boolean value of this field.
| |
| getByte | back to summary |
|---|---|
| public byte getByte() throws IOException Get the byte value of this field.
| |
| getChar | back to summary |
|---|---|
| public char getChar() throws IOException Get the character value of this field.
| |
| getDouble | back to summary |
|---|---|
| public double getDouble() throws IOException Get the double value of this field.
| |
| getFloat | back to summary |
|---|---|
| public float getFloat() throws IOException Get the float value of this field.
| |
| getInt | back to summary |
|---|---|
| public int getInt() throws IOException Get the integer value of this field.
| |
| getKind | back to summary |
|---|---|
| public abstract Kind getKind() Get the kind of field represented by this object.
| |
| getLong | back to summary |
|---|---|
| public long getLong() throws IOException Get the long value of this field.
| |
| getName | back to summary |
|---|---|
| public String getName() Get the field name.
| |
| getObject | back to summary |
|---|---|
| public Object getObject() throws IOException Get the object value of this field.
| |
| getShort | back to summary |
|---|---|
| public short getShort() throws IOException Get the short value of this field.
| |
| isDefaulted | back to summary |
|---|---|
| public boolean isDefaulted() Determine whether this field was defaulted.
| |
| wrongFieldType | back to summary |
|---|---|
| private static IllegalArgumentException wrongFieldType() | |