ObjectiveLib
1.0.0
|
A protocol defining the message for performing the operation of a binary function object. More...
#import <ObjectiveLib/Functional.h>
Public Member Functions | |
(id) | - performBinaryFunctionWithArg:andArg: |
Perform the function of this function object. |
A protocol defining the message for performing the operation of a binary function object.
- (id) performBinaryFunctionWithArg: | (id) | arg1 | |
andArg: | (id) | arg2 | |
Perform the function of this function object.
The operation is performed on the two parameters, a new object is allocated containing the result, and it is returned.
arg1 | the first argument |
arg2 | the second argument |
Reimplemented in OLPlus, OLMultiplies, OLModulus, OLMinus, OLMemFun1, and OLDivides.
|