gnu.mapping
Class Procedure4

java.lang.Object
  extended by gnu.mapping.Procedure
      extended by gnu.mapping.Procedure4
All Implemented Interfaces:
Named

public abstract class Procedure4
extends Procedure

Abstract class for 4-argument Scheme procedures.


Constructor Summary
Procedure4()
           
Procedure4(java.lang.String n)
           
 
Method Summary
 java.lang.Object apply0()
           
 java.lang.Object apply1(java.lang.Object arg1)
           
 java.lang.Object apply2(java.lang.Object arg1, java.lang.Object arg2)
           
 java.lang.Object apply3(java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
           
abstract  java.lang.Object apply4(java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4)
           
 java.lang.Object applyN(java.lang.Object[] args)
           
 int numArgs()
          Return minArgs()|(maxArgs<<12).
 
Methods inherited from class gnu.mapping.Procedure
apply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getName, getProperty, getSetter, getSymbol, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, name, removeProperty, set0, set1, setN, setName, setProperty, setProperty, setSetter, setSymbol, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Procedure4

public Procedure4()

Procedure4

public Procedure4(java.lang.String n)
Method Detail

numArgs

public int numArgs()
Description copied from class: Procedure
Return minArgs()|(maxArgs<<12).

Overrides:
numArgs in class Procedure

apply0

public java.lang.Object apply0()
Specified by:
apply0 in class Procedure

apply1

public java.lang.Object apply1(java.lang.Object arg1)
Specified by:
apply1 in class Procedure

apply2

public java.lang.Object apply2(java.lang.Object arg1,
                               java.lang.Object arg2)
Specified by:
apply2 in class Procedure

apply3

public java.lang.Object apply3(java.lang.Object arg1,
                               java.lang.Object arg2,
                               java.lang.Object arg3)
Specified by:
apply3 in class Procedure

apply4

public abstract java.lang.Object apply4(java.lang.Object arg1,
                                        java.lang.Object arg2,
                                        java.lang.Object arg3,
                                        java.lang.Object arg4)
                                 throws java.lang.Throwable
Specified by:
apply4 in class Procedure
Throws:
java.lang.Throwable

applyN

public java.lang.Object applyN(java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
applyN in class Procedure
Throws:
java.lang.Throwable