Package org.armedbear.lisp
Class BasicVector_UnsignedByte8
java.lang.Object
org.armedbear.lisp.LispObject
org.armedbear.lisp.AbstractArray
org.armedbear.lisp.AbstractVector
org.armedbear.lisp.BasicVector_UnsignedByte8
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBasicVector_UnsignedByte8
(byte[] array) BasicVector_UnsignedByte8
(int capacity) BasicVector_UnsignedByte8
(LispObject[] array) -
Method Summary
Modifier and TypeMethodDescriptionadjustArray
(int newCapacity, AbstractArray displacedTo, int displacement) adjustArray
(int newCapacity, LispObject initialElement, LispObject initialContents) int
aref
(int index) AREF
(int index) void
aset
(int index, int n) void
aset
(int index, LispObject value) int
capacity()
classOf()
elt
(int index) void
fill
(LispObject obj) boolean
boolean
boolean
int
length()
nreverse()
reverse()
void
shrink
(int n) subseq
(int start, int end) typeOf()
typep
(LispObject type) Methods inherited from class org.armedbear.lisp.AbstractVector
adjustArray, adjustArray, badIndex, checkIndex, deleteEq, deleteEql, equalp, getDimension, getDimensions, getRank, getTotalSize, printObject, psxhash, setFillPointer, setFillPointer, vectorp
Methods inherited from class org.armedbear.lisp.AbstractArray
arrayDisplacement, computeTotalSize, get, getFillPointer, getRowMajorIndex, getRowMajorIndex, isDisplaced, printObject, set
Methods inherited from class org.armedbear.lisp.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_UnsignedByte8
public BasicVector_UnsignedByte8(int capacity) -
BasicVector_UnsignedByte8
public BasicVector_UnsignedByte8(byte[] array) -
BasicVector_UnsignedByte8
-
-
Method Details
-
typeOf
- Overrides:
typeOf
in classLispObject
-
classOf
- Overrides:
classOf
in classLispObject
-
typep
- Overrides:
typep
in classAbstractVector
-
getElementType
- Specified by:
getElementType
in classAbstractArray
-
isSimpleVector
public boolean isSimpleVector()- Overrides:
isSimpleVector
in classAbstractVector
-
hasFillPointer
public boolean hasFillPointer()- Overrides:
hasFillPointer
in classAbstractArray
-
isAdjustable
public boolean isAdjustable()- Overrides:
isAdjustable
in classAbstractArray
-
capacity
public int capacity()- Specified by:
capacity
in classAbstractVector
-
length
public int length()- Overrides:
length
in classLispObject
-
elt
- Overrides:
elt
in classLispObject
-
aref
public int aref(int index) - Overrides:
aref
in classLispObject
-
AREF
- Overrides:
AREF
in classLispObject
-
aset
public void aset(int index, int n) - Overrides:
aset
in classLispObject
-
aset
- Specified by:
aset
in classAbstractArray
-
subseq
- Specified by:
subseq
in classAbstractVector
-
fill
- Specified by:
fill
in classAbstractArray
-
shrink
public void shrink(int n) - Specified by:
shrink
in classAbstractVector
-
reverse
- Specified by:
reverse
in classAbstractVector
-
nreverse
- Overrides:
nreverse
in classAbstractVector
-
adjustArray
public AbstractVector adjustArray(int newCapacity, LispObject initialElement, LispObject initialContents) - Specified by:
adjustArray
in classAbstractVector
-
adjustArray
- Specified by:
adjustArray
in classAbstractVector
-