gnu.expr
public class GenericProc extends MethodProc
Field Summary | |
---|---|
protected MethodProc[] | methods |
Constructor Summary | |
---|---|
GenericProc(String name) | |
GenericProc() |
Method Summary | |
---|---|
protected void | add(MethodProc[] procs) |
void | add(MethodProc method) |
Object | applyN(Object[] args) |
int | isApplicable(Type[] args) |
static GenericProc | make(Object[] args) Create a GenericProc from one or more methods, plus properties. |
int | match0(CallContext ctx) |
int | match1(Object arg1, CallContext ctx) |
int | match2(Object arg1, Object arg2, CallContext ctx) |
int | match3(Object arg1, Object arg2, Object arg3, CallContext ctx) |
int | match4(Object arg1, Object arg2, Object arg3, Object arg4, CallContext ctx) |
int | matchN(Object[] args, CallContext ctx) |
int | numArgs() |
void | setProperties(Object[] args) |