public class BaseScalarArray extends BaseField implements ScalarArray
Constructor and Description |
---|
BaseScalarArray(ScalarType elementType)
Constructor for BaseArray.
|
Modifier and Type | Method and Description |
---|---|
void |
deserialize(ByteBuffer buffer,
DeserializableControl control)
Deserialize buffer.
|
boolean |
equals(Object obj) |
ScalarType |
getElementType()
Get the element type for the array.
|
String |
getID()
Get the identification string.
|
int |
hashCode() |
void |
serialize(ByteBuffer buffer,
SerializableControl control)
Serialize field into given buffer.
|
void |
toString(StringBuilder buf,
int indentLevel)
Convert to a string
|
public BaseScalarArray(ScalarType elementType)
elementType
- The element Type.public ScalarType getElementType()
ScalarArray
getElementType
in interface ScalarArray
null
.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.