- All Known Implementing Classes:
- TimeInterval.Comparison
- Enclosing interface:
- ComparableElement<E>
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.