comparable library

Utilities for Comparable objects.

Classes

ComparableWrapper<T>
Wraps a value in a Comparable interface with a specified comparison function.

Extensions

ComparableUtils on Comparable<T>
Provides miscellaneous extension methods on Comparable.

Functions

compareIterables<E extends Comparable<Object>>(Iterable<E> iterable1, Iterable<E> iterable2) int
Compares two iterables of Comparable elements in a manner similar to string comparison.