ComparableExtension<T extends Comparable<T>> extension

Extension for comparing objects that implement the Comparable interface.

on
  • T

Operators

operator <(T other) bool

Available on T, provided by the ComparableExtension extension

Whether this object is less than the other object.
operator <=(T other) bool

Available on T, provided by the ComparableExtension extension

Whether this object is less than or equal to the other object.
operator >(T other) bool

Available on T, provided by the ComparableExtension extension

Whether this object is greater than the other object.
operator >=(T other) bool

Available on T, provided by the ComparableExtension extension

Whether this object is greater than or equal to the other object.