public class ArraySequence extends ArrayStructure
ArrayStructure.ArrayStructureIterator
Modifier and Type | Field and Description |
---|---|
protected StructureDataIterator |
iter |
members, nelems, sdata
Modifier | Constructor and Description |
---|---|
protected |
ArraySequence(StructureMembers sm,
int[] shape) |
|
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.
|
java.lang.Class |
getElementType()
n
|
long |
getSizeBytes()
Get the total number of bytes in the array.
|
int |
getStructureDataCount() |
StructureDataIterator |
getStructureDataIterator() |
protected StructureData |
makeStructureData(ArrayStructure as,
int index) |
void |
showInternal(java.util.Formatter f,
Indent indent) |
java.lang.String |
toString() |
convertScalarDouble, convertScalarFloat, convertScalarInt, convertScalarLong, copy, copyBytes, copyChars, copyDoubles, copyFloats, copyFrom1DJavaArray, copyInts, copyLongs, copyObjects, copySequences, copyShorts, copyStructures, copyTo1DJavaArray, 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, 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, transpose
protected StructureDataIterator iter
protected ArraySequence(StructureMembers sm, int[] shape)
public ArraySequence(StructureMembers members, StructureDataIterator iter, int nelems)
members
- the membersiter
- the iteratornelems
- iterator count, may be missing (<0)public java.lang.Class getElementType()
getElementType
in class ArrayStructure
public StructureDataIterator getStructureDataIterator()
getStructureDataIterator
in class ArrayStructure
public int getStructureDataCount()
public long getSizeBytes()
Array
getSizeBytes
in class ArrayStructure
protected StructureData makeStructureData(ArrayStructure as, int index)
makeStructureData
in class ArrayStructure
public Array extractMemberArray(StructureMembers.Member proxym) throws java.io.IOException
ArrayStructure
extractMemberArray
in class ArrayStructure
proxym
- get data from this StructureMembers.Member.java.io.IOException
- on read error (only happens for Sequences, otherwise data is already read)public void showInternal(java.util.Formatter f, Indent indent)
showInternal
in class ArrayStructure