public class PlainIntField extends AbstractDataIntField
PlainIntField represents an integer field with plain serialized form.
It can be used for fields which are usually represented with large integer or
floating-point values, such as times, coefficients, amounts, etc.| Constructor and Description |
|---|
PlainIntField(int index,
String name) |
PlainIntField(int index,
String name,
SerialFieldType serialType) |
| Modifier and Type | Method and Description |
|---|---|
int |
readInt(com.devexperts.io.BufferedInput in)
Reads field value from specified buffered input and returns it to the caller.
|
int |
readInt(DataInput in)
Reads field value from specified data input and returns it to the caller.
|
void |
writeInt(com.devexperts.io.BufferedOutput out,
int value)
Writes specified field value into specified buffered output.
|
void |
writeInt(DataOutput out,
int value)
Writes specified field value into specified data output.
|
equals, getString, parseString, read, setString, toDouble, toInt, toString, writegetDefaultPropertyName, getIndex, getLocalName, getName, getPropertyName, getRecord, getSerialType, setRecord, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIndex, getLocalName, getName, getPropertyName, getRecord, getSerialTypepublic PlainIntField(int index,
String name)
public PlainIntField(int index,
String name,
SerialFieldType serialType)
public final void writeInt(DataOutput out, int value) throws IOException
DataIntFieldIOException - as specified data output does.public final void writeInt(com.devexperts.io.BufferedOutput out,
int value)
throws IOException
DataIntFieldIOException - as specified data output does.public final int readInt(DataInput in) throws IOException
DataIntFieldIOException - as specified data input does.public final int readInt(com.devexperts.io.BufferedInput in)
throws IOException
DataIntFieldIOException - as specified data input does.Copyright © 2002–2025 Devexperts LLC. All rights reserved.