All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Jaja.SubrN

java.lang.Object
   |
   +----Jaja.Jaja
           |
           +----Jaja.Value
                   |
                   +----Jaja.Procedure
                           |
                           +----Jaja.Subr
                                   |
                                   +----Jaja.SubrN

public abstract class SubrN
extends Subr
This is the class of primitive procedures that accept an arbitrary number of arguments.


Constructor Index

 o SubrN(String)

Method Index

 o invoke()
 o invoke(Value)
 o invoke(Value, Value)
 o invoke(Value, Value, Value)
 o invoke(Value[])
RESTRICTION: The Scheme to Java compiler does not support functions with more than 10 arguments (nor the implementation of apply).

Constructors

 o SubrN
 protected SubrN(String n)

Methods

 o invoke
 public Value invoke()
Overrides:
invoke in class Procedure
 o invoke
 public Value invoke(Value a)
Overrides:
invoke in class Procedure
 o invoke
 public Value invoke(Value a,
                     Value b)
Overrides:
invoke in class Procedure
 o invoke
 public Value invoke(Value a,
                     Value b,
                     Value c)
Overrides:
invoke in class Procedure
 o invoke
 public abstract Value invoke(Value args[])
RESTRICTION: The Scheme to Java compiler does not support functions with more than 10 arguments (nor the implementation of apply).

Overrides:
invoke in class Procedure

All Packages  Class Hierarchy  This Package  Previous  Next  Index