public class ArrayStructureBBpos extends ArrayStructureBB
ArrayStructure.ArrayStructureIterator
Modifier and Type | Field and Description |
---|---|
protected int[] |
positions |
bb_offset, bbuffer
members, nelems, sdata
Constructor and Description |
---|
ArrayStructureBBpos(StructureMembers members,
int[] shape,
java.nio.ByteBuffer bbuffer,
int[] positions)
Construct an ArrayStructureBB with the given ByteBuffer.
|
Modifier and Type | Method and Description |
---|---|
protected int |
calcOffsetSetOrder(int recnum,
StructureMembers.Member m) |
addObjectToHeap, addObjectToHeap, copyBytes, copyChars, copyDoubles, copyFloats, copyInts, copyLongs, copyObjects, copyShorts, getArray, getArraySequence, getArrayStructure, getByteBuffer, getHeap, getJavaArrayByte, getJavaArrayChar, getJavaArrayDouble, getJavaArrayFloat, getJavaArrayInt, getJavaArrayLong, getJavaArrayShort, getJavaArrayString, getScalarByte, getScalarChar, getScalarDouble, getScalarFloat, getScalarInt, getScalarLong, getScalarShort, getScalarString, getScalarStructure, main, makeStructureData, setOffsets, showInternal, showOffsets
convertScalarDouble, convertScalarFloat, convertScalarInt, convertScalarLong, copy, copyFrom1DJavaArray, copySequences, copyStructures, copyTo1DJavaArray, createView, extractMemberArray, findMember, getArrayObject, getBoolean, getBoolean, getByte, getByte, getChar, getChar, getDouble, getDouble, getElementType, getFloat, getFloat, getInt, getInt, getLong, getLong, getMembers, getObject, getObject, getScalarObject, getShort, getShort, getSizeBytes, getStorage, getStructureData, getStructureData, getStructureDataIterator, getStructureMemberNames, getStructureMembers, getStructureSize, sectionNoReduce, setBoolean, setBoolean, setByte, setByte, setChar, setChar, setDouble, setDouble, setFloat, setFloat, setInt, setInt, setLong, setLong, setMemberArray, setObject, setObject, setShort, setShort, showInternalMembers
arraycopy, copyTo1DJavaArray, copyToNDJavaArray, factory, factory, factory, factory, factory, factory, factoryConstant, flip, get1DJavaArray, getDataAsByteBuffer, getDataAsByteBuffer, getDataAsByteBuffer, getDataType, getIndex, getIndexIterator, getIndexIteratorFast, getIndexPrivate, getRangeIterator, getRank, getShape, getSize, hasNext, isConstant, isUnsigned, makeArray, makeArray, makeArray, makeArray, makeArrayRankPlusOne, next, nextBoolean, nextByte, nextChar, nextDouble, nextFloat, nextInt, nextLong, nextShort, permute, reduce, reduce, resetLocalIterator, reshape, reshapeNoCopy, section, section, section, sectionNoReduce, setUnsigned, shapeToString, slice, toString, transpose
public ArrayStructureBBpos(StructureMembers members, int[] shape, java.nio.ByteBuffer bbuffer, int[] positions)
members
- the list of structure members.shape
- the shape of the structure arraybbuffer
- the data is stored in this ByteBuffer. bbuffer.order must already be set.positions
- offset from the start of the ByteBufffer to each record. must have length = with shape.getSize()protected int calcOffsetSetOrder(int recnum, StructureMembers.Member m)
calcOffsetSetOrder
in class ArrayStructureBB