org.armedbear.lisp
Class StructureObject
java.lang.Object
org.armedbear.lisp.LispObject
org.armedbear.lisp.StructureObject
- Direct Known Subclasses:
- Stream
public class StructureObject
- extends LispObject
|
Constructor Summary |
StructureObject(StructureObject obj)
|
StructureObject(Symbol symbol)
|
StructureObject(Symbol symbol,
LispObject obj0)
|
StructureObject(Symbol symbol,
LispObject[] slots)
|
StructureObject(Symbol symbol,
LispObject obj0,
LispObject obj1)
|
StructureObject(Symbol symbol,
LispObject obj0,
LispObject obj1,
LispObject obj2)
|
StructureObject(Symbol symbol,
LispObject obj0,
LispObject obj1,
LispObject obj2,
LispObject obj3)
|
StructureObject(Symbol symbol,
LispObject obj0,
LispObject obj1,
LispObject obj2,
LispObject obj3,
LispObject obj4)
|
StructureObject(Symbol symbol,
LispObject obj0,
LispObject obj1,
LispObject obj2,
LispObject obj3,
LispObject obj4,
LispObject obj5)
|
| Methods inherited from class org.armedbear.lisp.LispObject |
ABS, add, add, aref_long, aref, AREF, AREF, aset, 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, EQUAL, equalp, evenp, EVENP, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, floatp, FLOATP, floatValue, getBooleanValue, getCallCount, getDescription, getDocumentation, getHotCount, getInstance, getPropertyList, 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, nreverse, NTH, NTH, nthcdr, numberp, NUMBERP, NUMERATOR, oddp, ODDP, plusp, PLUSP, princToString, push, rationalp, RATIONALP, realp, REALP, resolve, reverse, RPLACA, RPLACD, SCHAR, setCallCount, setCar, setCdr, setDocumentation, setHotCount, setPropertyList, SIMPLE_STRING_P, STRING, stringp, STRINGP, subtract, subtract, SVREF, svset, sxhash, SYMBOLP, truncate, unreadableString, unreadableString, VECTOR_PUSH_EXTEND, VECTOR_PUSH_EXTEND, vectorp, VECTORP, vectorPushExtend, zerop, ZEROP |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StructureObject
public StructureObject(Symbol symbol)
StructureObject
public StructureObject(Symbol symbol,
LispObject[] slots)
StructureObject
public StructureObject(Symbol symbol,
LispObject obj0)
StructureObject
public StructureObject(Symbol symbol,
LispObject obj0,
LispObject obj1)
StructureObject
public StructureObject(Symbol symbol,
LispObject obj0,
LispObject obj1,
LispObject obj2)
StructureObject
public StructureObject(Symbol symbol,
LispObject obj0,
LispObject obj1,
LispObject obj2,
LispObject obj3)
StructureObject
public StructureObject(Symbol symbol,
LispObject obj0,
LispObject obj1,
LispObject obj2,
LispObject obj3,
LispObject obj4)
StructureObject
public StructureObject(Symbol symbol,
LispObject obj0,
LispObject obj1,
LispObject obj2,
LispObject obj3,
LispObject obj4,
LispObject obj5)
StructureObject
public StructureObject(StructureObject obj)
typeOf
public LispObject typeOf()
- Overrides:
typeOf in class LispObject
classOf
public LispObject classOf()
- Overrides:
classOf in class LispObject
getSlotIndex
protected int getSlotIndex(LispObject slotName)
SLOT_VALUE
public LispObject SLOT_VALUE(LispObject slotName)
- Overrides:
SLOT_VALUE in class LispObject
setSlotValue
public void setSlotValue(LispObject slotName,
LispObject newValue)
- Overrides:
setSlotValue in class LispObject
getParts
public LispObject getParts()
- Description copied from class:
LispObject
- Implementing the getParts() protocol will allow INSPECT to
return information about the substructure of a descendent of
LispObject.
The protocol is to return a List of Cons pairs, where the car of
each pair contains a decriptive string, and the cdr returns a
subobject for inspection.
- Overrides:
getParts in class LispObject
typep
public LispObject typep(LispObject type)
- Overrides:
typep in class LispObject
equalp
public boolean equalp(LispObject obj)
- Overrides:
equalp in class LispObject
getSlotValue_0
public LispObject getSlotValue_0()
- Overrides:
getSlotValue_0 in class LispObject
getSlotValue_1
public LispObject getSlotValue_1()
- Overrides:
getSlotValue_1 in class LispObject
getSlotValue_2
public LispObject getSlotValue_2()
- Overrides:
getSlotValue_2 in class LispObject
getSlotValue_3
public LispObject getSlotValue_3()
- Overrides:
getSlotValue_3 in class LispObject
getSlotValue
public LispObject getSlotValue(int index)
- Overrides:
getSlotValue in class LispObject
getFixnumSlotValue
public int getFixnumSlotValue(int index)
- Overrides:
getFixnumSlotValue in class LispObject
getSlotValueAsBoolean
public boolean getSlotValueAsBoolean(int index)
- Overrides:
getSlotValueAsBoolean in class LispObject
setSlotValue_0
public void setSlotValue_0(LispObject value)
- Overrides:
setSlotValue_0 in class LispObject
setSlotValue_1
public void setSlotValue_1(LispObject value)
- Overrides:
setSlotValue_1 in class LispObject
setSlotValue_2
public void setSlotValue_2(LispObject value)
- Overrides:
setSlotValue_2 in class LispObject
setSlotValue_3
public void setSlotValue_3(LispObject value)
- Overrides:
setSlotValue_3 in class LispObject
setSlotValue
public void setSlotValue(int index,
LispObject value)
- Overrides:
setSlotValue in class LispObject
psxhash
public final int psxhash()
- Overrides:
psxhash in class LispObject
psxhash
public final int psxhash(int depth)
- Overrides:
psxhash in class LispObject
printObject
public java.lang.String printObject()
- Overrides:
printObject in class LispObject