@Immutable public final class StructureDataArray extends Array<StructureData>
| Constructor and Description |
|---|
StructureDataArray(StructureMembers members,
ucar.array.IndexFn indexFn,
Storage<StructureData> storage)
Create an Array of type StructureData and the given indexFn and storage.
|
StructureDataArray(StructureMembers members,
int[] shape,
Storage<StructureData> storage)
Create an Array of type StructureData and the given shape and storage.
|
StructureDataArray(StructureMembers members,
int[] shape,
StructureData[] parray)
Create an Array of type StructureData and the given shape and storage.
|
| Modifier and Type | Method and Description |
|---|---|
StructureData |
get(Index index)
Get the element indicated by Index.
|
StructureData |
get(int... index)
Get the element indicated by the list of multidimensional indices.
|
List<String> |
getStructureMemberNames()
Get a list of structure member names.
|
StructureMembers |
getStructureMembers()
Get the StructureMembers.
|
int |
getStructureSize()
Get the size of one StructureData in bytes.
|
Iterator<StructureData> |
iterator()
Iterates in canonical order over all the elements of the Array.
|
equals, getArrayType, getIndex, getRank, getScalar, getSection, getShape, hashCode, isVlen, length, show, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic StructureDataArray(StructureMembers members, int[] shape, StructureData[] parray)
public StructureDataArray(StructureMembers members, int[] shape, Storage<StructureData> storage)
public StructureDataArray(StructureMembers members, ucar.array.IndexFn indexFn, Storage<StructureData> storage)
public StructureMembers getStructureMembers()
public List<String> getStructureMemberNames()
public Iterator<StructureData> iterator()
Arrayiterator in interface Iterable<StructureData>iterator in class Array<StructureData>public StructureData get(int... index)
Arrayget in class Array<StructureData>index - list of indices, one for each dimension. For vlen, the last is ignored.public StructureData get(Index index)
Arrayget in class Array<StructureData>index - multidimensional indices.public int getStructureSize()