gnu.mapping

Class Procedure2

public abstract class Procedure2 extends Procedure

Abstract class for 2-argument Scheme procedures. Extensions must provide apply2.
Constructor Summary
Procedure2(String n)
Procedure2()
Method Summary
Objectapply0()
Objectapply1(Object arg1)
abstract Objectapply2(Object arg1, Object arg2)
Objectapply3(Object arg1, Object arg2, Object arg3)
Objectapply4(Object arg1, Object arg2, Object arg3, Object arg4)
ObjectapplyN(Object[] args)
intnumArgs()

Constructor Detail

Procedure2

public Procedure2(String n)

Procedure2

public Procedure2()

Method Detail

apply0

public Object apply0()

apply1

public Object apply1(Object arg1)

apply2

public abstract Object apply2(Object arg1, Object arg2)

apply3

public Object apply3(Object arg1, Object arg2, Object arg3)

apply4

public Object apply4(Object arg1, Object arg2, Object arg3, Object arg4)

applyN

public Object applyN(Object[] args)

numArgs

public int numArgs()