Interface ComparableElement.Comparison<E>

All Known Implementing Classes:
Enclosing interface:

public static interface ComparableElement.Comparison<E>

A comparison of the typed element. The interface can be readily implemented by declaring an enum enumerating the comparisons, each with the value. This permits a switch statement to used the comparison method. A well designed set of comparisons can provide more effective use of tree-backed maps and sets.

Method Summary
 int value()
          The value assigned to this comparison.

Method Detail


int value()
The value assigned to this comparison.