Package de.intarsys.tools.functor
Interface IFunctorCall
- All Known Implementing Classes:
FunctorCall
public interface IFunctorCall
An object representing the actual call of an
IFunctor. This may be
used to transport call context and state such as arguments etc.-
Method Summary
Modifier and TypeMethodDescriptiongetArgs()The arguments currently associated with the call.The receiver for the behavior implemented.voidAssign an argument list for the call.voidsetReceiver(Object receiver) Assign a new receiver.
-
Method Details
-
getArgs
IArgs getArgs()The arguments currently associated with the call.- Returns:
- The arguments currently associated with the call.
-
getReceiver
Object getReceiver()The receiver for the behavior implemented.- Returns:
- The receiver for the behavior implemented.
-
setArgs
Assign an argument list for the call.This is for example useful when handling with declarations modifying the original functor call.
-
setReceiver
Assign a new receiver.- Parameters:
receiver- The new receiver
-