E - public class StructArray<E extends FSTStruct> extends FSTStruct
| Modifier and Type | Class and Description |
|---|---|
class |
StructArray.StructArrIterator<T extends FSTStruct> |
| Modifier and Type | Field and Description |
|---|---|
protected Object[] |
elems |
protected E |
template |
| Constructor and Description |
|---|
StructArray(int size,
E template)
initializes with a template.
|
| Modifier and Type | Method and Description |
|---|---|
void |
___setTemplate(E template) |
void |
clear(int currentIndex)
only avaiable at top level
|
E |
createPointer(int index) |
protected Object |
elems(int i)
accessor to the elements
|
protected void |
elems(int i,
Object val)
accessor to elements
|
protected int |
elemsLen()
length of this struct array
|
protected Object |
elemsPointer() |
protected int |
elemsStructIndex() |
E |
get(int i) |
int |
getStructElemClassId() |
int |
getStructElemSize() |
E |
getTemplate()
this will be avaiable for top level struct arrays only, embedded structarrays
will return null;
|
StructArray.StructArrIterator<E> |
iterator() |
void |
set(int i,
E value) |
int |
size() |
String |
toString() |
addOffset, baseOn, baseOn, baseOn, baseOn, cast, cast, createCopy, detach, equals, finishChangeTracking, getAbsoluteOffset, getBase, getByte, getBytes, getBytes, getByteSize, getChar, getClzId, getDouble, getElementInArraySize, getFac, getFieldValues, getFloat, getIndexInBase, getInt, getLong, getOffset, getPointedClass, getShort, hashCode, isChangeTracking, isIdenticTo, isNull, isOffHeap, isStructArrayPointer, next, next, onHeapHashcode, pointsToNull, previous, setAbsoluteOffset, setBase, setByte, setBytes, setBytes, setInt, setLong, setShort, startChangeTracking, toOffHeapprotected Object[] elems
public StructArray(int size,
E template)
size - template - public E getTemplate()
protected Object elems(int i)
i - protected void elems(int i,
Object val)
i - val - protected int elemsLen()
protected Object elemsPointer()
protected int elemsStructIndex()
public E get(int i)
public void set(int i,
E value)
public int size()
public StructArray.StructArrIterator<E> iterator()
public E createPointer(int index)
public int getStructElemSize()
public int getStructElemClassId()
public void clear(int currentIndex)
currentIndex - public void ___setTemplate(E template)
Copyright © 2014. All rights reserved.