kawa.lang

Class RecordConstructor

Implemented Interfaces:
Named

public class RecordConstructor
extends ProcedureN

Field Summary

Fields inherited from class gnu.mapping.ProcedureN

noArgs

Constructor Summary

RecordConstructor(Class clas)
RecordConstructor(Class clas, Object fieldsList)
RecordConstructor(Class clas, Field[] fields)
RecordConstructor(ClassType type)
RecordConstructor(ClassType type, Object fieldsList)
RecordConstructor(ClassType type, Field[] fields)

Method Summary

Object
applyN(Object[] args)
String
getName()
int
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, 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

RecordConstructor

public RecordConstructor(Class clas)

RecordConstructor

public RecordConstructor(Class clas,
                         Object fieldsList)

RecordConstructor

public RecordConstructor(Class clas,
                         Field[] fields)

RecordConstructor

public RecordConstructor(ClassType type)

RecordConstructor

public RecordConstructor(ClassType type,
                         Object fieldsList)

RecordConstructor

public RecordConstructor(ClassType type,
                         Field[] fields)

Method Details

applyN

public Object applyN(Object[] args)
Overrides:
applyN in interface ProcedureN

getName

public String getName()
Specified by:
getName in interface Named
Overrides:
getName in interface Procedure

numArgs

public int numArgs()
Overrides:
numArgs in interface Procedure