public abstract class AbstractVector extends AbstractArray
| Constructor and Description |
|---|
AbstractVector() |
| Modifier and Type | Method and Description |
|---|---|
AbstractArray |
adjustArray(int[] dims,
AbstractArray displacedTo,
int displacement) |
AbstractArray |
adjustArray(int[] dims,
LispObject initialElement,
LispObject initialContents)
Returns a newly allocated array or the current array with
adjusted dimensions.
|
abstract AbstractArray |
adjustArray(int size,
AbstractArray displacedTo,
int displacement) |
abstract AbstractArray |
adjustArray(int size,
LispObject initialElement,
LispObject initialContents) |
protected void |
badIndex(int index,
int limit) |
abstract int |
capacity() |
int |
checkIndex(int index) |
LispObject |
deleteEq(LispObject item) |
LispObject |
deleteEql(LispObject item) |
boolean |
equalp(LispObject obj) |
int |
getDimension(int n) |
LispObject |
getDimensions() |
int |
getRank() |
int |
getTotalSize() |
boolean |
isSimpleVector() |
LispObject |
nreverse() |
java.lang.String |
printObject() |
int |
psxhash() |
abstract LispObject |
reverse() |
void |
setFillPointer(int n) |
void |
setFillPointer(LispObject obj) |
abstract void |
shrink(int n) |
abstract LispObject |
subseq(int start,
int end) |
LispObject |
typep(LispObject type) |
boolean |
vectorp() |
arrayDisplacement, aset, computeTotalSize, fill, get, getElementType, getFillPointer, getRowMajorIndex, getRowMajorIndex, hasFillPointer, isAdjustable, isDisplaced, printObject, setABS, add, add, aref_long, aref, AREF, AREF, aset, aset, ash, ash, atom, ATOM, caddr, cadr, car, cddr, cdr, CHAR, characterp, CHARACTERP, chars, classOf, 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, NTH, NTH, nthcdr, numberp, NUMBERP, NUMERATOR, oddp, ODDP, plusp, PLUSP, princToString, psxhash, push, rationalp, RATIONALP, realp, REALP, resolve, 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, typeOf, unreadableString, unreadableString, VECTOR_PUSH_EXTEND, VECTOR_PUSH_EXTEND, VECTORP, vectorPushExtend, zerop, ZEROPpublic LispObject typep(LispObject type)
typep in class AbstractArraypublic final boolean vectorp()
vectorp in class LispObjectpublic boolean equalp(LispObject obj)
equalp in class AbstractArraypublic final int getRank()
getRank in class AbstractArraypublic final LispObject getDimensions()
getDimensions in class AbstractArraypublic final int getDimension(int n)
getDimension in class AbstractArraypublic final int getTotalSize()
getTotalSize in class AbstractArraypublic abstract int capacity()
public abstract LispObject subseq(int start, int end)
public LispObject deleteEq(LispObject item)
public LispObject deleteEql(LispObject item)
public abstract void shrink(int n)
public int checkIndex(int index)
protected void badIndex(int index,
int limit)
public void setFillPointer(int n)
setFillPointer in class AbstractArraypublic void setFillPointer(LispObject obj)
setFillPointer in class AbstractArraypublic boolean isSimpleVector()
public abstract LispObject reverse()
reverse in class LispObjectpublic LispObject nreverse()
nreverse in class LispObjectpublic java.lang.String printObject()
printObject in class LispObjectpublic int psxhash()
psxhash in class AbstractArraypublic abstract AbstractArray adjustArray(int size, LispObject initialElement, LispObject initialContents)
public abstract AbstractArray adjustArray(int size, AbstractArray displacedTo, int displacement)
public AbstractArray adjustArray(int[] dims, LispObject initialElement, LispObject initialContents)
AbstractArrayadjustArray in class AbstractArrayinitialElement - @c null if noneinitialContents - @c null if nonepublic AbstractArray adjustArray(int[] dims, AbstractArray displacedTo, int displacement)
adjustArray in class AbstractArray