Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ix.util.lisp
Class Interpreter.AbstractFunction

    java.lang.Object
      ix.util.lisp.Interpreter.AbstractFunction

All Implemented Interfaces:
  Interpreter.Function

Direct Known Subclasses:
  Interpreter.Closure, Interpreter.JFunction

Enclosing class:
  Interpreter

    public abstract static class Interpreter.AbstractFunction

extends java.lang.Object
implements Interpreter.Function

An implementation of Function that supplies some utility methods.

Field Summary

Fields inherited from interface ix.util.lisp.Interpreter.Function
`ANY_ARITY`

Constructor Summary
`Interpreter.AbstractFunction()`

Method Summary
`void` | `checkArity(int numberOfArgs)` Checks whether this function can accept the indicated number of arguments.
`protected java.lang.Object` | `mustBe(java.lang.Class c, java.lang.Object obj)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface ix.util.lisp.Interpreter.Function
`applyTo, getArity`

Constructor Detail

### Interpreter.AbstractFunction

    public Interpreter.AbstractFunction()

Method Detail

### checkArity

    public void checkArity(int numberOfArgs)

  Description copied from interface: `Interpreter.Function`
  Checks whether this function can accept the indicated number of arguments.

  Specified by:
    `checkArity` in interface `Interpreter.Function`

### mustBe

    protected java.lang.Object mustBe(java.lang.Class c,
                                      java.lang.Object obj)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD