Class BasicVector_CharBuffer
java.lang.Object
org.armedbear.lisp.LispObject
org.armedbear.lisp.AbstractArray
org.armedbear.lisp.AbstractVector
org.armedbear.lisp.BasicVector_CharBuffer
- All Implemented Interfaces:
Serializable
A vector with specialized underlying storage for (unsigned-byte 16)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBasicVector_CharBuffer(int capacity) BasicVector_CharBuffer(int capacity, boolean directAllocation) BasicVector_CharBuffer(ByteBuffer buffer, boolean directAllocation) BasicVector_CharBuffer(CharBuffer buffer, boolean directAllocation) BasicVector_CharBuffer(LispObject[] array, boolean directAllocation) -
Method Summary
Modifier and TypeMethodDescriptionadjustArray(int newCapacity, AbstractArray displacedTo, int displacement) adjustArray(int newCapacity, LispObject initialElement, LispObject initialContents) intaref(int index) AREF(int index) voidaset(int index, int n) voidaset(int index, LispObject obj) intcapacity()classOf()elt(int index) voidfill(LispObject obj) booleanbooleanbooleanintlength()nreverse()reverse()voidshrink(int n) subseq(int start, int end) typeOf()typep(LispObject type) Methods inherited from class AbstractVector
adjustArray, adjustArray, badIndex, checkIndex, deleteEq, deleteEql, equalp, getDimension, getDimensions, getRank, getTotalSize, printObject, psxhash, setFillPointer, setFillPointer, vectorpMethods inherited from class AbstractArray
arrayDisplacement, computeTotalSize, get, getFillPointer, getRowMajorIndex, getRowMajorIndex, isDisplaced, printObject, setMethods inherited from class LispObject
ABS, add, add, AREF, aref_long, aset, ash, ash, atom, ATOM, caddr, cadr, car, cddr, cdr, CHAR, characterp, CHARACTERP, chars, COMPLEXP, constantp, CONSTANTP, copyToArray, decr, DENOMINATOR, dispatch, divideBy, doubleValue, 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, 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, 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, vectorPushExtend, zerop, ZEROP
-
Constructor Details
-
BasicVector_CharBuffer
public BasicVector_CharBuffer(int capacity) -
BasicVector_CharBuffer
public BasicVector_CharBuffer(int capacity, boolean directAllocation) -
BasicVector_CharBuffer
-
BasicVector_CharBuffer
-
BasicVector_CharBuffer
-
-
Method Details
-
typeOf
- Overrides:
typeOfin classLispObject
-
classOf
- Overrides:
classOfin classLispObject
-
typep
- Overrides:
typepin classAbstractVector
-
getElementType
- Specified by:
getElementTypein classAbstractArray
-
isSimpleVector
public boolean isSimpleVector()- Overrides:
isSimpleVectorin classAbstractVector
-
hasFillPointer
public boolean hasFillPointer()- Overrides:
hasFillPointerin classAbstractArray
-
isAdjustable
public boolean isAdjustable()- Overrides:
isAdjustablein classAbstractArray
-
capacity
public int capacity()- Specified by:
capacityin classAbstractVector
-
length
public int length()- Overrides:
lengthin classLispObject
-
elt
- Overrides:
eltin classLispObject
-
aref
public int aref(int index) - Overrides:
arefin classLispObject
-
AREF
- Overrides:
AREFin classLispObject
-
aset
public void aset(int index, int n) - Overrides:
asetin classLispObject
-
aset
- Specified by:
asetin classAbstractArray
-
subseq
- Specified by:
subseqin classAbstractVector
-
fill
- Specified by:
fillin classAbstractArray
-
shrink
public void shrink(int n) - Specified by:
shrinkin classAbstractVector
-
reverse
- Specified by:
reversein classAbstractVector
-
nreverse
- Overrides:
nreversein classAbstractVector
-
adjustArray
public AbstractVector adjustArray(int newCapacity, LispObject initialElement, LispObject initialContents) - Specified by:
adjustArrayin classAbstractVector
-
adjustArray
- Specified by:
adjustArrayin classAbstractVector
-