gnu.mapping
Class Procedure1or2
- Named
public abstract class Procedure1or2
Abstract class for 1- or 2-argument Scheme procedures.
Extensions must provide apply1 and apply2.
Object | apply0()
|
abstract Object | apply1(Object arg1)
|
abstract Object | apply2(Object arg1, Object arg2)
|
Object | apply3(Object arg1, Object arg2, Object arg3)
|
Object | apply4(Object arg1, Object arg2, Object arg3, Object arg4)
|
Object | applyN(Object[] args)
|
int | numArgs()
|
apply , apply , apply0 , apply1 , apply2 , apply3 , apply4 , applyN , check0 , check1 , check2 , check3 , check4 , checkArgCount , checkN , getSetter , getSourceLocation , match0 , match1 , match2 , match3 , match4 , matchN , maxArgs , minArgs , numArgs , set0 , set1 , setN , setSetter , setSourceLocation , toString |
Procedure1or2
public Procedure1or2()
Procedure1or2
public Procedure1or2(String n)
apply1
public abstract Object apply1(Object arg1)
throws Throwable
- apply1 in interface Procedure
apply2
public abstract Object apply2(Object arg1,
Object arg2)
throws Throwable
- apply2 in interface Procedure
apply3
public Object apply3(Object arg1,
Object arg2,
Object arg3)
- apply3 in interface Procedure
apply4
public Object apply4(Object arg1,
Object arg2,
Object arg3,
Object arg4)
- apply4 in interface Procedure
applyN
public Object applyN(Object[] args)
throws Throwable
- applyN in interface Procedure