Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
OverviewMethodsThis PackageAll Packages
IComparer.compare
Compares two objects.
Syntax
public int compare( Object x**, Object** y )
Parameters
x
The first object to compare.
y
The object to compare with the first object.
Return Value
An implementation of this method must return a value less than zero if x is less than y, a value greater than zero if x is greater than y, or zero if x is equal to y.