public abstract class TransformedArray<E> extends AbstractSequence<E> implements Array<E>
| Modifier and Type | Field and Description |
|---|---|
protected Array<E> |
base |
noInts| Constructor and Description |
|---|
TransformedArray() |
TransformedArray(Array<E> base) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCanWrite() |
boolean |
getBooleanRaw(int effi) |
byte |
getByteRaw(int effi) |
char |
getCharRaw(int effi) |
double |
getDoubleRaw(int effi) |
int |
getElementKind() |
float |
getFloatRaw(int effi) |
int |
getInt(int i) |
int |
getInt(int i,
int j) |
int |
getIntRaw(int effi) |
long |
getLongRaw(int effi) |
E |
getRaw(int effi)
Given an "effective index", return element as object.
|
E |
getRowMajor(int index) |
short |
getShortRaw(int effi) |
void |
setRaw(int index,
E value)
Given an "effective index", set selected element.
|
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, 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, getLowBound, getNextKind, getNextTypeName, getNextTypeObject, getPosNext, getPosPrevious, getSize, getSize, gotoAttributesStart, gotoChildrenStart, gotoParent, hashCode, hasNext, hasPrevious, indexOf, isAfterPos, isEmpty, iterator, lastIndexOf, listIterator, listIterator, nextIndex, nextIndex, nextMatching, nextPos, parentPos, previousPos, rank, releasePos, remove, remove, removeAll, removePos, removePosRange, retainAll, set, set, setAt, setBuffer, setPosNext, setPosPrevious, size, stableCompare, startPos, subList, subSequence, subSequencePos, toArray, toArray, toString, toString, unsupported, unsupportedExceptionclone, finalize, getClass, notify, notifyAll, wait, wait, waitasImmutable, effectiveIndex, effectiveIndex, effectiveIndex, effectiveIndex, effectiveIndex, get, get, get, get, get, getInt, getInt, getInt, getLowBound, getSize, getSize, isEmpty, rank, setpublic int getElementKind()
getElementKind in interface Array<E>getElementKind in class AbstractSequence<E>public E getRowMajor(int index)
getRowMajor in interface Array<E>getRowMajor in class AbstractSequence<E>public E getRaw(int effi)
Arraypublic boolean getBooleanRaw(int effi)
getBooleanRaw in interface Array<E>getBooleanRaw in class AbstractSequence<E>public byte getByteRaw(int effi)
getByteRaw in interface Array<E>getByteRaw in class AbstractSequence<E>public char getCharRaw(int effi)
getCharRaw in interface Array<E>getCharRaw in class AbstractSequence<E>public short getShortRaw(int effi)
getShortRaw in interface Array<E>getShortRaw in class AbstractSequence<E>public int getIntRaw(int effi)
public long getLongRaw(int effi)
getLongRaw in interface Array<E>getLongRaw in class AbstractSequence<E>public float getFloatRaw(int effi)
getFloatRaw in interface Array<E>getFloatRaw in class AbstractSequence<E>public double getDoubleRaw(int effi)
getDoubleRaw in interface Array<E>getDoubleRaw in class AbstractSequence<E>public int getInt(int i)
public int getInt(int i,
int j)
public void setRaw(int index,
E value)
AbstractSequenceprotected void checkCanWrite()
checkCanWrite in class AbstractSequence<E>