Protocol DComparable

Adopted by:
DBigDouble, DBigInt, DBool, DData, DDateTime, DDouble, DDoubleArray, DFixedPoint, DFraction, DInt, DIntArray, DLong, DShort, DText
Declared in:
DComparable.h

Protocol Description

The DComparable protocol specifies methods for classes that can compare the contents of the instance with the contents of another instance. For example the objects of the string class are compared during storing in a dictionary. See class DText and class DAvlTree.

Last modified:
09-Sep-2003 (DComparable.h)

Method Index

- (int) compare :(id) other
Compares the contents of two objects
Parameters:
other - the other object (!= nil)
Returns:
the comparison result (-1 = smaller, 0 = equal, 1 = bigger)

generated 08-Jan-2006 by ObjcDoc 3.0.0