gnu.mapping

Class Setter0

Implemented Interfaces:
Named

public class Setter0
extends Setter

A special case of Setter, retricted to no arguments, except the RHS.

Field Summary

Fields inherited from class gnu.mapping.Setter

getter

Fields inherited from class gnu.mapping.ProcedureN

noArgs

Constructor Summary

Setter0(Procedure getter)

Method Summary

Object
apply1(Object result)
Object
applyN(Object[] args)
int
numArgs()

Methods inherited from class gnu.mapping.Setter

applyN, numArgs

Methods inherited from class gnu.mapping.ProcedureN

apply0, apply1, apply2, apply3, apply4, applyN

Methods inherited from class gnu.mapping.Procedure

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

Methods inherited from class gnu.mapping.PropertySet

getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol

Constructor Details

Setter0

public Setter0(Procedure getter)

Method Details

apply1

public Object apply1(Object result)
            throws Throwable
Overrides:
apply1 in interface ProcedureN

applyN

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

numArgs

public int numArgs()
Overrides:
numArgs in interface Setter