public class ArraySequence extends ArrayStructure
ArrayStructure.ArrayStructureIterator
Constructor and Description |
---|
ArraySequence(StructureMembers members,
StructureDataIterator iter,
int nelems)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Array |
extractMemberArray(StructureMembers.Member proxym)
Extract data for one member, over all structures.
|
Class |
getElementType()
Get the element class type of this Array
|
long |
getSizeBytes()
Get the total number of bytes in the array.
|
int |
getStructureDataCount() |
StructureDataIterator |
getStructureDataIterator() |
void |
showInternal(Formatter f,
Indent indent) |
String |
toString() |
convertScalarDouble, convertScalarFloat, convertScalarInt, convertScalarLong, copy, createView, findMember, getArray, getArrayObject, getArraySequence, getArrayStructure, getBoolean, getBoolean, getByte, getByte, getChar, getChar, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getJavaArrayByte, getJavaArrayChar, getJavaArrayDouble, getJavaArrayFloat, getJavaArrayInt, getJavaArrayLong, getJavaArrayShort, getJavaArrayString, getLong, getLong, getMembers, getObject, getObject, getScalarByte, getScalarChar, getScalarDouble, getScalarFloat, getScalarInt, getScalarLong, getScalarObject, getScalarShort, getScalarString, getScalarStructure, getShort, getShort, getStorage, getStructureData, getStructureData, getStructureMemberNames, getStructureMembers, getStructureSize, iterator, 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, factoryConstant, flip, get1DJavaArray, getDataAsByteBuffer, getDataAsByteBuffer, getDataAsByteBuffer, getDataType, getIndex, getIndexIterator, getRangeIterator, getRank, getShape, getSize, hasNext, isConstant, isUnsigned, isVlen, makeArray, makeArray, makeArray, makeArrayRankPlusOne, makeFromJavaArray, makeFromJavaArray, makeObjectArray, makeVlenArray, next, nextBoolean, nextByte, nextChar, nextDouble, nextFloat, nextInt, nextLong, nextShort, permute, reduce, reduce, resetLocalIterator, reshape, reshapeNoCopy, section, section, section, sectionNoReduce, shapeToString, slice, transpose
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public ArraySequence(StructureMembers members, StructureDataIterator iter, int nelems)
members
- the membersiter
- the iteratornelems
- iterator count, may be missing (<0)public Array extractMemberArray(StructureMembers.Member proxym) throws IOException
ArrayStructure
extractMemberArray
in class ArrayStructure
proxym
- get data from this StructureMembers.Member.IOException
- on read error (only happens for Sequences, otherwise data is already read)public Class getElementType()
Array
getElementType
in class ArrayStructure
public long getSizeBytes()
Array
getSizeBytes
in class ArrayStructure
public int getStructureDataCount()
public StructureDataIterator getStructureDataIterator()
getStructureDataIterator
in class ArrayStructure
public void showInternal(Formatter f, Indent indent)
showInternal
in class ArrayStructure