Class AbstractBitVector
java.lang.Object
org.armedbear.lisp.LispObject
org.armedbear.lisp.AbstractArray
org.armedbear.lisp.AbstractVector
org.armedbear.lisp.AbstractBitVector
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ComplexBitVector, SimpleBitVector
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intcapacity()classOf()protected abstract voidclearBit(int index) booleanequal(LispObject obj) booleanequalp(LispObject obj) voidfill(LispObject obj) protected abstract intgetBit(int index) final LispObjectinthashCode()reverse()protected abstract voidsetBit(int index) subseq(int start, int end) typep(LispObject type) Methods inherited from class AbstractVector
adjustArray, adjustArray, adjustArray, adjustArray, badIndex, checkIndex, deleteEq, deleteEql, getDimension, getDimensions, getRank, getTotalSize, isSimpleVector, nreverse, psxhash, setFillPointer, setFillPointer, shrink, vectorpMethods inherited from class AbstractArray
arrayDisplacement, aset, computeTotalSize, get, getFillPointer, getRowMajorIndex, getRowMajorIndex, hasFillPointer, isAdjustable, isDisplaced, printObject, setMethods inherited from class LispObject
ABS, add, add, aref, 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, 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, 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, typeOf, unreadableString, unreadableString, VECTOR_PUSH_EXTEND, VECTOR_PUSH_EXTEND, VECTORP, vectorPushExtend, zerop, ZEROP
-
Field Details
-
LONG_MASK
protected static final int LONG_MASK- See Also:
-
capacity
protected int capacity -
bits
protected long[] bits
-
-
Constructor Details
-
AbstractBitVector
public AbstractBitVector()
-
-
Method Details
-
typep
- Overrides:
typepin classAbstractVector
-
classOf
- Overrides:
classOfin classLispObject
-
capacity
public final int capacity()- Specified by:
capacityin classAbstractVector
-
getElementType
- Specified by:
getElementTypein classAbstractArray
-
equal
- Overrides:
equalin classLispObject
-
equalp
- Overrides:
equalpin classAbstractVector
-
fill
- Specified by:
fillin classAbstractArray
-
subseq
- Specified by:
subseqin classAbstractVector
-
hashCode
-
printObject
- Overrides:
printObjectin classAbstractVector
-
reverse
- Specified by:
reversein classAbstractVector
-
getBit
protected abstract int getBit(int index) -
setBit
protected abstract void setBit(int index) -
clearBit
protected abstract void clearBit(int index)
-