ObjFW
|
A protocol for comparing objects. More...
#include <ObjFW/ObjFW.h>
Instance Methods | |
(OFComparisonResult) | - compare: |
Compares the object to another object. | |
A protocol for comparing objects.
This protocol is implemented by objects that can be compared. Its only method, compare: (OFComparing-p), should be overridden with a stronger type.
- (OFComparisonResult) compare: | (id< OFComparing >) | object |
Compares the object to another object.
object | An object to compare the object to |