Package org.armedbear.lisp
Class SlotClass
- java.lang.Object
-
- org.armedbear.lisp.LispObject
-
- org.armedbear.lisp.StandardObject
-
- org.armedbear.lisp.LispClass
-
- org.armedbear.lisp.SlotClass
-
- Direct Known Subclasses:
StandardClass
,StructureClass
public class SlotClass extends LispClass
-
-
Field Summary
-
Fields inherited from class org.armedbear.lisp.StandardObject
layout, slots
-
-
Constructor Summary
Constructors Constructor Description SlotClass(Layout layout)
SlotClass(Layout layout, Symbol symbol, LispObject directSuperclasses)
SlotClass(Symbol symbol, LispObject directSuperclasses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalizeClass()
LispObject
getDefaultInitargs()
LispObject
getDirectDefaultInitargs()
LispObject
getDirectSlotDefinitions()
LispObject
getParts()
Implementing the getParts() protocol will allow INSPECT to return information about the substructure of a descendent of LispObject.LispObject
getSlotDefinitions()
void
setDefaultInitargs(LispObject defaultInitargs)
void
setDirectDefaultInitargs(LispObject directDefaultInitargs)
void
setDirectSlotDefinitions(LispObject directSlotDefinitions)
void
setSlotDefinitions(LispObject slotDefinitions)
LispObject
typep(LispObject type)
-
Methods inherited from class org.armedbear.lisp.LispClass
addClass, addClass, classOf, findClass, findClass, getClassLayout, getCPL, getDirectMethods, getDirectSubclasses, getDirectSuperclasses, getDocumentation, getLayoutLength, getName, getPropertyList, isFinalized, removeClass, setClassLayout, setCPL, setDirectMethods, setDirectSubclasses, setDirectSuperclass, setDirectSuperclasses, setDocumentation, setFinalized, setName, setPropertyList, subclassp, subclassp, sxhash, typeOf
-
Methods inherited from class org.armedbear.lisp.StandardObject
checkStandardObject, getInstanceSlotValue, getLispClass, printObject, setInstanceSlotValue, setSlotValue, SLOT_VALUE
-
Methods inherited from class org.armedbear.lisp.LispObject
ABS, add, add, aref, AREF, AREF, aref_long, 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, equalp, evenp, EVENP, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, floatp, FLOATP, floatValue, getBooleanValue, getCallCount, getDescription, getDocumentation, getFixnumSlotValue, getHotCount, getInstance, 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, nreverse, NTH, NTH, nthcdr, numberp, NUMBERP, NUMERATOR, oddp, ODDP, plusp, PLUSP, princToString, psxhash, psxhash, push, rationalp, RATIONALP, realp, REALP, resolve, reverse, RPLACA, RPLACD, SCHAR, setCallCount, setCar, setCdr, setDocumentation, setHotCount, setSlotValue, setSlotValue_0, setSlotValue_1, setSlotValue_2, setSlotValue_3, SIMPLE_STRING_P, STRING, stringp, STRINGP, subtract, subtract, SVREF, svset, SYMBOLP, truncate, unreadableString, unreadableString, VECTOR_PUSH_EXTEND, VECTOR_PUSH_EXTEND, vectorp, VECTORP, vectorPushExtend, zerop, ZEROP
-
-
-
-
Constructor Detail
-
SlotClass
public SlotClass(Layout layout)
-
SlotClass
public SlotClass(Symbol symbol, LispObject directSuperclasses)
-
SlotClass
public SlotClass(Layout layout, Symbol symbol, LispObject directSuperclasses)
-
-
Method Detail
-
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.
-
typep
public LispObject typep(LispObject type)
-
getDirectSlotDefinitions
public LispObject getDirectSlotDefinitions()
-
setDirectSlotDefinitions
public void setDirectSlotDefinitions(LispObject directSlotDefinitions)
-
getSlotDefinitions
public LispObject getSlotDefinitions()
-
setSlotDefinitions
public void setSlotDefinitions(LispObject slotDefinitions)
-
getDirectDefaultInitargs
public LispObject getDirectDefaultInitargs()
-
setDirectDefaultInitargs
public void setDirectDefaultInitargs(LispObject directDefaultInitargs)
-
getDefaultInitargs
public LispObject getDefaultInitargs()
-
setDefaultInitargs
public void setDefaultInitargs(LispObject defaultInitargs)
-
finalizeClass
public void finalizeClass()
-
-