- Adopted by:
- DBigDouble, DBigFraction, 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:
- 19-Jul-2008 (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 06-Sep-2008 by ObjcDoc 3.0.0