org.armedbear.lisp
Class StandardGenericFunction

java.lang.Object
  extended by org.armedbear.lisp.LispObject
      extended by org.armedbear.lisp.StandardObject
          extended by org.armedbear.lisp.StandardGenericFunction

public final class StandardGenericFunction
extends StandardObject


Field Summary
 
Fields inherited from class org.armedbear.lisp.StandardObject
layout, slots
 
Constructor Summary
StandardGenericFunction()
           
StandardGenericFunction(java.lang.String name, Package pkg, boolean exported, Function function, LispObject lambdaList, LispObject specializers)
           
 
Method Summary
static StandardGenericFunction checkStandardGenericFunction(LispObject obj)
           
 LispObject execute()
           
 LispObject execute(LispObject arg)
           
 LispObject execute(LispObject[] args)
           
 LispObject execute(LispObject first, LispObject second)
           
 LispObject execute(LispObject first, LispObject second, LispObject third)
           
 LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth)
           
 LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth)
           
 LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth)
           
 LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh)
           
 LispObject execute(LispObject first, LispObject second, LispObject third, LispObject fourth, LispObject fifth, LispObject sixth, LispObject seventh, LispObject eighth)
           
 int getCallCount()
           
 LispObject getGenericFunctionName()
           
 int getHotCount()
           
 void incrementCallCount()
           
 void incrementHotCount()
           
 java.lang.String printObject()
           
 void setCallCount(int n)
           
 void setGenericFunctionName(LispObject name)
           
 void setHotCount(int n)
           
 LispObject typep(LispObject type)
           
 
Methods inherited from class org.armedbear.lisp.StandardObject
checkStandardObject, classOf, getInstanceSlotValue, getLispClass, getParts, setInstanceSlotValue, setSlotValue, SLOT_VALUE, typeOf
 
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, equalp, evenp, EVENP, execute, floatp, FLOATP, floatValue, getBooleanValue, getDescription, getDocumentation, getFixnumSlotValue, getInstance, getPropertyList, getSlotValue_0, getSlotValue_1, getSlotValue_2, getSlotValue_3, getSlotValue, getSlotValueAsBoolean, getStringChars, getStringValue, getSymbolFunction, getSymbolFunctionOrDie, getSymbolSetfFunction, getSymbolSetfFunctionOrDie, getSymbolValue, incr, 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, setCar, setCdr, setDocumentation, setPropertyList, setSlotValue_0, setSlotValue_1, setSlotValue_2, setSlotValue_3, setSlotValue, 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
 

Constructor Detail

StandardGenericFunction

public StandardGenericFunction()

StandardGenericFunction

public StandardGenericFunction(java.lang.String name,
                               Package pkg,
                               boolean exported,
                               Function function,
                               LispObject lambdaList,
                               LispObject specializers)
Method Detail

typep

public LispObject typep(LispObject type)
Overrides:
typep in class StandardObject

getGenericFunctionName

public LispObject getGenericFunctionName()

setGenericFunctionName

public void setGenericFunctionName(LispObject name)

execute

public LispObject execute()
Overrides:
execute in class LispObject

execute

public LispObject execute(LispObject arg)
Overrides:
execute in class LispObject

execute

public LispObject execute(LispObject first,
                          LispObject second)
Overrides:
execute in class LispObject

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third)
Overrides:
execute in class LispObject

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third,
                          LispObject fourth)
Overrides:
execute in class LispObject

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third,
                          LispObject fourth,
                          LispObject fifth)
Overrides:
execute in class LispObject

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third,
                          LispObject fourth,
                          LispObject fifth,
                          LispObject sixth)
Overrides:
execute in class LispObject

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third,
                          LispObject fourth,
                          LispObject fifth,
                          LispObject sixth,
                          LispObject seventh)
Overrides:
execute in class LispObject

execute

public LispObject execute(LispObject first,
                          LispObject second,
                          LispObject third,
                          LispObject fourth,
                          LispObject fifth,
                          LispObject sixth,
                          LispObject seventh,
                          LispObject eighth)
Overrides:
execute in class LispObject

execute

public LispObject execute(LispObject[] args)
Overrides:
execute in class LispObject

printObject

public java.lang.String printObject()
Overrides:
printObject in class StandardObject

getCallCount

public final int getCallCount()
Overrides:
getCallCount in class LispObject

setCallCount

public void setCallCount(int n)
Overrides:
setCallCount in class LispObject

incrementCallCount

public final void incrementCallCount()
Overrides:
incrementCallCount in class LispObject

getHotCount

public final int getHotCount()
Overrides:
getHotCount in class LispObject

setHotCount

public void setHotCount(int n)
Overrides:
setHotCount in class LispObject

incrementHotCount

public final void incrementHotCount()
Overrides:
incrementHotCount in class LispObject

checkStandardGenericFunction

public static final StandardGenericFunction checkStandardGenericFunction(LispObject obj)