|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.armedbear.lisp.Lisp
org.armedbear.lisp.LispObject
org.armedbear.lisp.AbstractArray
org.armedbear.lisp.AbstractVector
org.armedbear.lisp.AbstractBitVector
org.armedbear.lisp.SimpleBitVector
public final class SimpleBitVector
Field Summary |
---|
Fields inherited from class org.armedbear.lisp.AbstractBitVector |
---|
bits, capacity, LONG_MASK |
Constructor Summary | |
---|---|
SimpleBitVector(int capacity)
|
|
SimpleBitVector(java.lang.String s)
|
Method Summary | |
---|---|
AbstractVector |
adjustArray(int newCapacity,
AbstractArray displacedTo,
int displacement)
|
AbstractVector |
adjustArray(int newCapacity,
LispObject initialElement,
LispObject initialContents)
|
LispObject |
AREF(int index)
|
void |
aset(int index,
LispObject newValue)
|
LispObject |
classOf()
|
protected void |
clearBit(int index)
|
LispObject |
elt(int index)
|
protected int |
getBit(int index)
|
boolean |
hasFillPointer()
|
boolean |
isAdjustable()
|
boolean |
isSimpleVector()
|
int |
length()
|
protected void |
setBit(int index)
|
void |
shrink(int n)
|
LispObject |
typeOf()
|
LispObject |
typep(LispObject type)
|
Methods inherited from class org.armedbear.lisp.AbstractBitVector |
---|
AREF, capacity, equal, equalp, fill, getElementType, hashCode, reverse, subseq, writeToString |
Methods inherited from class org.armedbear.lisp.AbstractVector |
---|
adjustArray, adjustArray, badIndex, checkIndex, deleteEq, deleteEql, getDimension, getDimensions, getRank, getTotalSize, nreverse, psxhash, setFillPointer, setFillPointer, vectorp, VECTORP |
Methods inherited from class org.armedbear.lisp.AbstractArray |
---|
arrayDisplacement, computeTotalSize, get, getFillPointer, getRowMajorIndex, getRowMajorIndex, isDisplaced, set, writeToString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleBitVector(int capacity)
public SimpleBitVector(java.lang.String s) throws ConditionThrowable
ConditionThrowable
Method Detail |
---|
public LispObject typeOf()
typeOf
in class LispObject
public LispObject classOf()
classOf
in class AbstractBitVector
public LispObject typep(LispObject type) throws ConditionThrowable
typep
in class AbstractBitVector
ConditionThrowable
public boolean hasFillPointer()
hasFillPointer
in class AbstractArray
public boolean isAdjustable()
isAdjustable
in class AbstractArray
public boolean isSimpleVector()
isSimpleVector
in class AbstractVector
public int length()
length
in class LispObject
public LispObject elt(int index) throws ConditionThrowable
elt
in class LispObject
ConditionThrowable
public LispObject AREF(int index) throws ConditionThrowable
AREF
in class LispObject
ConditionThrowable
public void aset(int index, LispObject newValue) throws ConditionThrowable
aset
in class AbstractArray
ConditionThrowable
protected int getBit(int index)
getBit
in class AbstractBitVector
protected void setBit(int index)
setBit
in class AbstractBitVector
protected void clearBit(int index)
clearBit
in class AbstractBitVector
public void shrink(int n) throws ConditionThrowable
shrink
in class AbstractVector
ConditionThrowable
public AbstractVector adjustArray(int newCapacity, LispObject initialElement, LispObject initialContents) throws ConditionThrowable
adjustArray
in class AbstractVector
ConditionThrowable
public AbstractVector adjustArray(int newCapacity, AbstractArray displacedTo, int displacement) throws ConditionThrowable
adjustArray
in class AbstractVector
ConditionThrowable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |