public final class NilVector extends AbstractString
Modifier and Type | Field and Description |
---|---|
private int |
capacity |
Constructor and Description |
---|
NilVector(int capacity) |
Modifier and Type | Method and Description |
---|---|
LispObject |
accessError() |
AbstractVector |
adjustArray(int size,
AbstractArray displacedTo,
int displacement) |
AbstractVector |
adjustArray(int newCapacity,
LispObject initialElement,
LispObject initialContents) |
LispObject |
AREF(int index) |
void |
aset(int index,
LispObject newValue) |
int |
capacity() |
LispObject |
CHAR(int index) |
char |
charAt(int index) |
char[] |
chars() |
LispObject |
classOf() |
boolean |
equal(LispObject obj) |
void |
fill(char c) |
void |
fill(LispObject obj) |
LispObject |
getElementType() |
char[] |
getStringChars() |
String |
getStringValue()
Returns a string representing the value
of a 'string designator', if the instance is one.
|
String |
getValue() |
int |
length() |
LispObject |
reverse() |
LispObject |
SCHAR(int index) |
void |
setCharAt(int index,
char c) |
void |
shrink(int n) |
LispObject |
SIMPLE_STRING_P() |
private void |
storeError(LispObject obj) |
LispObject |
subseq(int start,
int end) |
int |
sxhash() |
String |
toString() |
LispObject |
typeOf() |
LispObject |
typep(LispObject type) |
isSimpleVector, STRING, stringp, writeToString, writeToString
adjustArray, adjustArray, badIndex, checkIndex, deleteEq, deleteEql, equalp, getDimension, getDimensions, getRank, getTotalSize, nreverse, psxhash, setFillPointer, setFillPointer, vectorp
arrayDisplacement, computeTotalSize, get, getFillPointer, getRowMajorIndex, getRowMajorIndex, hasFillPointer, isAdjustable, isDisplaced, set, writeToString
ABS, add, add, aref_long, aref, AREF, aset, aset, ash, ash, atom, ATOM, caddr, cadr, car, cddr, cdr, characterp, CHARACTERP, 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_0, getSlotValue_1, getSlotValue_2, getSlotValue_3, getSlotValue, getSlotValueAsBoolean, 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, psxhash, push, rationalp, RATIONALP, realp, REALP, resolve, RPLACA, RPLACD, setCallCount, setCar, setCdr, setDocumentation, setHotCount, setPropertyList, setSlotValue_0, setSlotValue_1, setSlotValue_2, setSlotValue_3, setSlotValue, setSlotValue, SLOT_VALUE, STRINGP, subtract, subtract, SVREF, svset, SYMBOLP, truncate, unreadableString, unreadableString, unreadableString, unreadableString, VECTOR_PUSH_EXTEND, VECTOR_PUSH_EXTEND, VECTORP, vectorPushExtend, zerop, ZEROP
public char[] chars()
chars
in class LispObject
public char[] getStringChars()
getStringChars
in class LispObject
public String getStringValue()
LispObject
getStringValue
in class LispObject
public LispObject typeOf()
typeOf
in class LispObject
public LispObject classOf()
classOf
in class LispObject
public LispObject typep(LispObject type)
typep
in class AbstractString
public LispObject SIMPLE_STRING_P()
SIMPLE_STRING_P
in class LispObject
public boolean equal(LispObject obj)
equal
in class LispObject
public String getValue()
public int length()
length
in class LispObject
public int capacity()
capacity
in class AbstractVector
public LispObject getElementType()
getElementType
in class AbstractString
public LispObject CHAR(int index)
CHAR
in class LispObject
public LispObject SCHAR(int index)
SCHAR
in class LispObject
public LispObject AREF(int index)
AREF
in class LispObject
public void aset(int index, LispObject newValue)
aset
in class AbstractArray
public char charAt(int index)
charAt
in class AbstractString
public void setCharAt(int index, char c)
setCharAt
in class AbstractString
public LispObject subseq(int start, int end)
subseq
in class AbstractVector
public void fill(LispObject obj)
fill
in class AbstractArray
public void fill(char c)
fill
in class AbstractString
public void shrink(int n)
shrink
in class AbstractVector
public LispObject reverse()
reverse
in class AbstractVector
public LispObject accessError()
private void storeError(LispObject obj)
public String toString()
toString
in class AbstractString
public int sxhash()
sxhash
in class LispObject
public AbstractVector adjustArray(int newCapacity, LispObject initialElement, LispObject initialContents)
adjustArray
in class AbstractVector
public AbstractVector adjustArray(int size, AbstractArray displacedTo, int displacement)
adjustArray
in class AbstractVector