ComparableBasics<T> extension
Utility extension methods for the Comparable class.
- on
-
- Comparable<
T>
- Comparable<
Operators
-
operator <(
T other) → bool -
Returns true if this should be ordered strictly before
other
. -
operator <=(
T other) → bool -
Returns true if this should be ordered before or with
other
. -
operator >(
T other) → bool -
Returns true if this should be ordered strictly after
other
. -
operator >=(
T other) → bool -
Returns true if this should be ordered after or with
other
.