gnu.mapping

Class Procedure1

Implemented Interfaces:
Named
Known Direct Subclasses:
ArrayLength, ArrayNew, Average, BooleanValue, cxr, CoerceNodes, CountValues, Document, GetFieldProc, integer_p, load, loadcompiled, MakeUnescapedData, not, NameMap, NodeName, NumberValue, prim_throw, ParseFormat, quantity2number, quantity2unit, random, Reduce, Setter, SortNodes, StaticSet, StringValue, SyntaxRules

public abstract class Procedure1
extends Procedure

Abstract class for 1-argument Scheme procedures.

Constructor Summary

Procedure1()
Procedure1(java.lang.String n)

Method Summary

Object
apply0()
abstract Object
apply1(Object arg1)
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()

Methods inherited from class gnu.mapping.Procedure

apply, apply, apply0, apply1, apply2, apply3, apply4, applyN, check0, check1, check2, check3, check4, checkArgCount, checkN, getName, getProperty, getSetter, getSymbol, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, name, numArgs, removeProperty, set0, set1, setN, setName, setProperty, setProperty, setSetter, setSymbol, toString

Constructor Details

Procedure1

public Procedure1()

Procedure1

public Procedure1(java.lang.String n)

Method Details

apply0

public Object apply0()
            throws Throwable
Overrides:
apply0 in interface Procedure

apply1

public abstract Object apply1(Object arg1)
            throws Throwable
Overrides:
apply1 in interface Procedure

apply2

public Object apply2(Object arg1,
                     Object arg2)
            throws Throwable
Overrides:
apply2 in interface Procedure

apply3

public Object apply3(Object arg1,
                     Object arg2,
                     Object arg3)
            throws Throwable
Overrides:
apply3 in interface Procedure

apply4

public Object apply4(Object arg1,
                     Object arg2,
                     Object arg3,
                     Object arg4)
            throws Throwable
Overrides:
apply4 in interface Procedure

applyN

public Object applyN(Object[] args)
            throws Throwable
Overrides:
applyN in interface Procedure

numArgs

public int numArgs()
Overrides:
numArgs in interface Procedure