public class BaseStructureArray extends BaseField implements StructureArray
Constructor and Description |
---|
BaseStructureArray(Structure elementStructure)
Constructor for BaseStructureArray
|
Modifier and Type | Method and Description |
---|---|
void |
deserialize(ByteBuffer buffer,
DeserializableControl control)
Deserialize buffer.
|
boolean |
equals(Object obj) |
String |
getID()
Get the identification string.
|
Structure |
getStructure()
Get the structure interface for an array element.
|
int |
hashCode() |
void |
serialize(ByteBuffer buffer,
SerializableControl control)
Serialize field into given buffer.
|
void |
toString(StringBuilder buf,
int indentLevel)
Convert to a string
|
public BaseStructureArray(Structure elementStructure)
elementStructure
- The structure introspection interface for each elementpublic Structure getStructure()
StructureArray
getStructure
in interface StructureArray
public void toString(StringBuilder buf, int indentLevel)
Field
public void serialize(ByteBuffer buffer, SerializableControl control)
Serializable
serialize
in interface Serializable
buffer
- serialization buffer.control
- flush interface.public void deserialize(ByteBuffer buffer, DeserializableControl control)
Serializable
deserialize
in interface Serializable
buffer
- serialization buffer.control
- deserialization control.Copyright © 2014. All Rights Reserved.