Package de.intarsys.tools.functor
Interface IFunctorCall
-
- All Known Implementing Classes:
FunctorCall
public interface IFunctorCallAn object representing the actual call of anIFunctor. This may be used to transport call context and state such as arguments etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IArgsgetArgs()The arguments currently associated with the call.java.lang.ObjectgetReceiver()The receiver for the behavior implemented.voidsetArgs(IArgs args)Assign an argument list for the call.voidsetReceiver(java.lang.Object receiver)Assign a new receiver.
-
-
-
Method Detail
-
getArgs
IArgs getArgs()
The arguments currently associated with the call.- Returns:
- The arguments currently associated with the call.
-
getReceiver
java.lang.Object getReceiver()
The receiver for the behavior implemented.- Returns:
- The receiver for the behavior implemented.
-
setArgs
void setArgs(IArgs args)
Assign an argument list for the call.This is for example useful when handling with declarations modifying the original functor call.
-
setReceiver
void setReceiver(java.lang.Object receiver)
Assign a new receiver.- Parameters:
receiver- The new receiver
-
-