public final class SimpleArray_UnsignedByte16 extends AbstractArray
Modifier and Type | Field and Description |
---|---|
private int[] |
data |
private int[] |
dimv |
private int |
totalSize |
Constructor and Description |
---|
SimpleArray_UnsignedByte16(int[] dimv) |
SimpleArray_UnsignedByte16(int[] dimv,
LispObject initialContents) |
SimpleArray_UnsignedByte16(int rank,
LispObject initialContents) |
Modifier and Type | Method and Description |
---|---|
AbstractArray |
adjustArray(int[] dimv,
AbstractArray displacedTo,
int displacement) |
AbstractArray |
adjustArray(int[] dimv,
LispObject initialElement,
LispObject initialContents)
Returns a newly allocated array or the current array with
adjusted dimensions.
|
int |
aref(int index) |
LispObject |
AREF(int index) |
void |
aset(int index,
LispObject obj) |
LispObject |
classOf() |
private static void |
copyArray(AbstractArray a1,
AbstractArray a2) |
private static void |
copySubArray(AbstractArray a1,
AbstractArray a2,
int[] subscripts,
int axis) |
void |
fill(LispObject obj) |
LispObject |
get(int[] subscripts) |
int |
getDimension(int n) |
LispObject |
getDimensions() |
LispObject |
getElementType() |
int |
getRank() |
int |
getRowMajorIndex(int[] subscripts) |
int |
getTotalSize() |
boolean |
isAdjustable() |
void |
set(int[] subscripts,
LispObject obj) |
private int |
setInitialContents(int axis,
int[] dims,
LispObject contents,
int index) |
LispObject |
typeOf() |
LispObject |
typep(LispObject typeSpecifier) |
String |
writeToString() |
arrayDisplacement, computeTotalSize, equalp, getFillPointer, getRowMajorIndex, hasFillPointer, isDisplaced, psxhash, setFillPointer, setFillPointer, writeToString
ABS, add, add, aref_long, AREF, aset, aset, ash, ash, atom, ATOM, caddr, cadr, car, cddr, cdr, CHAR, characterp, CHARACTERP, chars, COMPLEXP, constantp, CONSTANTP, copyToArray, decr, DENOMINATOR, dispatch, divideBy, doubleValue, elt, endp, ENDP, EQ, eql, eql, eql, EQL, equal, equal, EQUAL, equalp, evenp, EVENP, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, floatp, FLOATP, floatValue, getBooleanValue, getCallCount, getDescription, getDocumentation, getFixnumSlotValue, getHotCount, getInstance, getParts, getPropertyList, getSlotValue_0, getSlotValue_1, getSlotValue_2, getSlotValue_3, getSlotValue, getSlotValueAsBoolean, getStringChars, getStringValue, getSymbolFunction, getSymbolFunctionOrDie, getSymbolSetfFunction, getSymbolSetfFunctionOrDie, getSymbolValue, incr, incrementCallCount, incrementHotCount, integerp, INTEGERP, intValue, IS_E, IS_GE, IS_GT, IS_LE, IS_LT, IS_NE, isEqualTo, isEqualTo, isGreaterThan, isGreaterThan, isGreaterThanOrEqualTo, isGreaterThanOrEqualTo, isLessThan, isLessThan, isLessThanOrEqualTo, isLessThanOrEqualTo, isNotEqualTo, isNotEqualTo, isSpecialOperator, isSpecialVariable, javaInstance, javaInstance, LDB, length, LENGTH, listp, LISTP, lockableInstance, LOGAND, LOGAND, LOGIOR, LOGIOR, LOGNOT, LOGXOR, LOGXOR, longValue, minusp, MINUSP, MOD, MOD, multiplyBy, multiplyBy, negate, noFillPointer, NOT, nreverse, NTH, NTH, nthcdr, numberp, NUMBERP, NUMERATOR, oddp, ODDP, plusp, PLUSP, psxhash, push, rationalp, RATIONALP, realp, REALP, resolve, reverse, RPLACA, RPLACD, SCHAR, setCallCount, setCar, setCdr, setDocumentation, setHotCount, setPropertyList, setSlotValue_0, setSlotValue_1, setSlotValue_2, setSlotValue_3, setSlotValue, setSlotValue, SIMPLE_STRING_P, SLOT_VALUE, STRING, stringp, STRINGP, subtract, subtract, SVREF, svset, sxhash, SYMBOLP, truncate, unreadableString, unreadableString, unreadableString, unreadableString, VECTOR_PUSH_EXTEND, VECTOR_PUSH_EXTEND, vectorp, VECTORP, vectorPushExtend, zerop, ZEROP
private final int[] dimv
private final int totalSize
private final int[] data
public SimpleArray_UnsignedByte16(int[] dimv)
public SimpleArray_UnsignedByte16(int[] dimv, LispObject initialContents)
public SimpleArray_UnsignedByte16(int rank, LispObject initialContents)
private int setInitialContents(int axis, int[] dims, LispObject contents, int index)
public LispObject typeOf()
typeOf
in class LispObject
public LispObject classOf()
classOf
in class LispObject
public LispObject typep(LispObject typeSpecifier)
typep
in class AbstractArray
public int getRank()
getRank
in class AbstractArray
public LispObject getDimensions()
getDimensions
in class AbstractArray
public int getDimension(int n)
getDimension
in class AbstractArray
public LispObject getElementType()
getElementType
in class AbstractArray
public int getTotalSize()
getTotalSize
in class AbstractArray
public boolean isAdjustable()
isAdjustable
in class AbstractArray
public int aref(int index)
aref
in class LispObject
public LispObject AREF(int index)
AREF
in class LispObject
public void aset(int index, LispObject obj)
aset
in class AbstractArray
public int getRowMajorIndex(int[] subscripts)
getRowMajorIndex
in class AbstractArray
public LispObject get(int[] subscripts)
get
in class AbstractArray
public void set(int[] subscripts, LispObject obj)
set
in class AbstractArray
public void fill(LispObject obj)
fill
in class AbstractArray
public String writeToString()
writeToString
in class LispObject
public AbstractArray adjustArray(int[] dimv, LispObject initialElement, LispObject initialContents)
AbstractArray
adjustArray
in class AbstractArray
initialElement
- @c null if noneinitialContents
- @c null if noneprivate static void copyArray(AbstractArray a1, AbstractArray a2)
private static void copySubArray(AbstractArray a1, AbstractArray a2, int[] subscripts, int axis)
public AbstractArray adjustArray(int[] dimv, AbstractArray displacedTo, int displacement)
adjustArray
in class AbstractArray