public static class Arrays.ProcTransformedArray<E> extends TransformedArray<E>
base
noInts
Constructor and Description |
---|
ProcTransformedArray(Array<E> base,
Procedure transformer,
int[] dimensions,
int[] lowBounds) |
Modifier and Type | Method and Description |
---|---|
int |
effectiveIndex(int[] indexes) |
int |
effectiveIndex(int i,
int j) |
int |
getLowBound(int dim)
Get the least dimension along the specified dimension.
|
int |
getSize(int dim)
Get length along specified dimension.
|
int |
rank()
Get the rank (number of dimensions) of this array.
|
checkCanWrite, getBooleanRaw, getByteRaw, getCharRaw, getDoubleRaw, getElementKind, getFloatRaw, getInt, getInt, getIntRaw, getLongRaw, getRaw, getRowMajor, getShortRaw, setRaw
add, add, addAll, addAll, addPos, asImmutable, badRank, boundedHash, checkRank, clear, compare, compare, compare, consume, consume, consumeNext, consumePosRange, contains, containsAll, copyPos, createPos, createRelativePos, effectiveIndex, effectiveIndex, effectiveIndex, elements, endPos, equals, equals, fill, fill, fillPosRange, firstAttributePos, firstChildPos, firstChildPos, fromEndIndex, get, get, get, get, get, getAttribute, getAttributeLength, getContainingSequenceSize, getIndexDifference, getInt, getInt, getInt, getIterator, getIterator, getIteratorAtPos, getNextKind, getNextTypeName, getNextTypeObject, getPosNext, getPosPrevious, getSize, gotoAttributesStart, gotoChildrenStart, gotoParent, hashCode, hasNext, hasPrevious, indexOf, isAfterPos, isEmpty, iterator, lastIndexOf, listIterator, listIterator, nextIndex, nextIndex, nextMatching, nextPos, parentPos, previousPos, releasePos, remove, remove, removeAll, removePos, removePosRange, retainAll, set, set, setAt, setBuffer, setPosNext, setPosPrevious, size, stableCompare, startPos, subList, subSequence, subSequencePos, toArray, toArray, toString, toString, unsupported, unsupportedException
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asImmutable, effectiveIndex, effectiveIndex, effectiveIndex, get, get, get, get, get, getInt, getInt, getInt, getSize, isEmpty, set
public int rank()
Array
public int getLowBound(int dim)
Array
getLowBound
in interface Array<E>
getLowBound
in class AbstractSequence<E>
public int getSize(int dim)
Array
public final int effectiveIndex(int i, int j)
effectiveIndex
in interface Array<E>
effectiveIndex
in class AbstractSequence<E>
public int effectiveIndex(int[] indexes)
effectiveIndex
in interface Array<E>
effectiveIndex
in class AbstractSequence<E>