Member Function Documentation

The arguments must be coherence::util::Map::Entry objects. Depending on the comparison style, this method will pass either the entries' values, keys or the entries themselves to the underlying Comparator.

Parameters:

vO1

the first object to be compared

vO2

the second object to be compared

Returns:

a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second

Exceptions:

ClassCastException

if the arguments' types prevent them from being compared by this Comparator.