Package org.armedbear.lisp
Class SimpleArray_UnsignedByte8
- java.lang.Object
-
- org.armedbear.lisp.LispObject
-
- org.armedbear.lisp.AbstractArray
-
- org.armedbear.lisp.SimpleArray_UnsignedByte8
-
- All Implemented Interfaces:
java.io.Serializable
public final class SimpleArray_UnsignedByte8 extends AbstractArray
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleArray_UnsignedByte8(int[] dimv)SimpleArray_UnsignedByte8(int[] dimv, LispObject initialContents)SimpleArray_UnsignedByte8(int rank, LispObject initialContents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractArrayadjustArray(int[] dimv, AbstractArray displacedTo, int displacement)AbstractArrayadjustArray(int[] dimv, LispObject initialElement, LispObject initialContents)Returns a newly allocated array or the current array with adjusted dimensions.LispObjectAREF(int index)voidaset(int index, LispObject newValue)LispObjectclassOf()voidfill(LispObject obj)LispObjectget(int[] subscripts)intgetDimension(int n)LispObjectgetDimensions()LispObjectgetElementType()intgetRank()intgetRowMajorIndex(int[] subscripts)intgetTotalSize()booleanisAdjustable()java.lang.StringprintObject()voidset(int[] subscripts, LispObject newValue)LispObjecttypeOf()LispObjecttypep(LispObject typeSpecifier)-
Methods inherited from class org.armedbear.lisp.AbstractArray
arrayDisplacement, computeTotalSize, equalp, getFillPointer, getRowMajorIndex, hasFillPointer, isDisplaced, printObject, psxhash, setFillPointer, setFillPointer
-
Methods inherited from class org.armedbear.lisp.LispObject
ABS, add, add, aref, AREF, aref_long, 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, getSlotValue_0, getSlotValue_1, getSlotValue_2, getSlotValue_3, 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, princToString, psxhash, push, rationalp, RATIONALP, realp, REALP, resolve, reverse, RPLACA, RPLACD, SCHAR, setCallCount, setCar, setCdr, setDocumentation, setHotCount, setPropertyList, setSlotValue, setSlotValue, setSlotValue_0, setSlotValue_1, setSlotValue_2, setSlotValue_3, SIMPLE_STRING_P, SLOT_VALUE, STRING, stringp, STRINGP, subtract, subtract, SVREF, svset, sxhash, SYMBOLP, truncate, unreadableString, unreadableString, VECTOR_PUSH_EXTEND, VECTOR_PUSH_EXTEND, vectorp, VECTORP, vectorPushExtend, zerop, ZEROP
-
-
-
-
Constructor Detail
-
SimpleArray_UnsignedByte8
public SimpleArray_UnsignedByte8(int[] dimv)
-
SimpleArray_UnsignedByte8
public SimpleArray_UnsignedByte8(int[] dimv, LispObject initialContents)
-
SimpleArray_UnsignedByte8
public SimpleArray_UnsignedByte8(int rank, LispObject initialContents)
-
-
Method Detail
-
typeOf
public LispObject typeOf()
- Overrides:
typeOfin classLispObject
-
classOf
public LispObject classOf()
- Overrides:
classOfin classLispObject
-
typep
public LispObject typep(LispObject typeSpecifier)
- Overrides:
typepin classAbstractArray
-
getRank
public int getRank()
- Specified by:
getRankin classAbstractArray
-
getDimensions
public LispObject getDimensions()
- Specified by:
getDimensionsin classAbstractArray
-
getDimension
public int getDimension(int n)
- Specified by:
getDimensionin classAbstractArray
-
getElementType
public LispObject getElementType()
- Specified by:
getElementTypein classAbstractArray
-
getTotalSize
public int getTotalSize()
- Specified by:
getTotalSizein classAbstractArray
-
isAdjustable
public boolean isAdjustable()
- Overrides:
isAdjustablein classAbstractArray
-
AREF
public LispObject AREF(int index)
- Overrides:
AREFin classLispObject
-
aset
public void aset(int index, LispObject newValue)- Specified by:
asetin classAbstractArray
-
getRowMajorIndex
public int getRowMajorIndex(int[] subscripts)
- Overrides:
getRowMajorIndexin classAbstractArray
-
get
public LispObject get(int[] subscripts)
- Overrides:
getin classAbstractArray
-
set
public void set(int[] subscripts, LispObject newValue)- Overrides:
setin classAbstractArray
-
fill
public void fill(LispObject obj)
- Specified by:
fillin classAbstractArray
-
printObject
public java.lang.String printObject()
- Overrides:
printObjectin classLispObject
-
adjustArray
public AbstractArray adjustArray(int[] dimv, LispObject initialElement, LispObject initialContents)
Description copied from class:AbstractArrayReturns a newly allocated array or the current array with adjusted dimensions.- Specified by:
adjustArrayin classAbstractArray- Returns:
-
adjustArray
public AbstractArray adjustArray(int[] dimv, AbstractArray displacedTo, int displacement)
- Specified by:
adjustArrayin classAbstractArray- Returns:
-
-