|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.tools.functor.FunctorCall
public class FunctorCall
Generic implementation of IFunctorCall.
| Constructor Summary | |
|---|---|
FunctorCall(Object receiver,
IArgs args)
|
|
| Method Summary | |
|---|---|
static FunctorCall |
create(Object receiver,
Object... arguments)
Create an IFunctorCall with receiver as the receiver
and the indexed arguments. |
IArgs |
getArgs()
The arguments currently associated with the call. |
Object |
getReceiver()
The receiver for the behavior implemented. |
static FunctorCall |
noargs(Object receiver)
Create an IFunctorCall with receiver as the receiver
and no arguments. |
void |
setArgs(IArgs args)
Assign an argument list for the call. |
void |
setReceiver(Object receiver)
Assign a new receiver. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FunctorCall(Object receiver,
IArgs args)
| Method Detail |
|---|
public static FunctorCall create(Object receiver,
Object... arguments)
IFunctorCall with receiver as the receiver
and the indexed arguments.
receiver - The receiver for the call.arguments - The indexed arguments for the call.
IFunctorCallpublic static FunctorCall noargs(Object receiver)
IFunctorCall with receiver as the receiver
and no arguments.
receiver - The receiver for the call.
IFunctorCallpublic IArgs getArgs()
IFunctorCall
getArgs in interface IFunctorCallpublic Object getReceiver()
IFunctorCall
getReceiver in interface IFunctorCallpublic void setArgs(IArgs args)
IFunctorCallThis is for example useful when handling with declarations modifying the original functor call.
setArgs in interface IFunctorCallpublic void setReceiver(Object receiver)
IFunctorCall
setReceiver in interface IFunctorCallreceiver - The new receiver
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||