OLModulus Class Reference
[Function Objects]

Compute the remainder of division. More...

#import <ObjectiveLib/Functional.h>

Inheritance diagram for OLModulus:

Inheritance graph
[legend]
List of all members.

Public Member Functions

(id) - performBinaryFunctionWithArg:andArg:
 Compute the remainder of the division of the value of arg1 by the value of arg2.

Detailed Description

Compute the remainder of division.

The value of one argument is divided by the value of another, and the result is the remainder of division.


Member Function Documentation

- (id) performBinaryFunctionWithArg: (id)  arg1
andArg: (id)  arg2 

Compute the remainder of the division of the value of arg1 by the value of arg2.

Precondition:
arg1 must respond to the message arithmeticModulus: found in the OLArithmetic protocol.
Parameters:
arg1 the value to divide
arg2 the value by which to divide
Returns:
the remainder of division

Reimplemented from < OLBinaryFunction >.


The documentation for this class was generated from the following file:
ObjectiveLibGenerated Sun Apr 22 15:18:52 2007, © 2004-2007 Will Mason
SourceForge.net Logo