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 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