public interface DataObjField extends DataField
DataObjField
defines identity and access API for Obj-fields.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object value1,
Object value2)
Compares two specified field values for equality.
|
Object |
parseString(String value)
Parses string representation of specified field value.
|
Object |
readObj(com.devexperts.io.BufferedInput in)
Reads field value from specified data input and returns it to the caller.
|
Object |
readObj(DataInput in)
Deprecated.
Use
readObj(BufferedInput) which is faster. |
String |
toString(Object value)
Returns string representation of specified field value.
|
void |
writeObj(com.devexperts.io.BufferedOutput out,
Object value)
Writes specified field value into specified buffered output.
|
void |
writeObj(DataOutput out,
Object value)
Deprecated.
Use
writeObj(BufferedOutput, Object) which is faster. |
getIndex, getLocalName, getName, getPropertyName, getRecord, getSerialType, getString, read, setString, write
String toString(Object value)
Object parseString(String value)
IllegalArgumentException
- if string cannot be parsed.boolean equals(Object value1, Object value2)
void writeObj(DataOutput out, Object value) throws IOException
writeObj(BufferedOutput, Object)
which is faster.IOException
- as specified data output does.void writeObj(com.devexperts.io.BufferedOutput out, Object value) throws IOException
IOException
- as specified data output does.Object readObj(DataInput in) throws IOException
readObj(BufferedInput)
which is faster.IOException
- as specified data input does.Object readObj(com.devexperts.io.BufferedInput in) throws IOException
IOException
- as specified data input does.Copyright © 2002–2025 Devexperts LLC. All rights reserved.