PartialOrder

interface PartialOrder<T>

Like Comparable, but not all pairs of elements have to be ordered.

Parameters

T

the type of objects this object may be compared to.

Functions

Link copied to clipboard
abstract fun lessThanOrEqualTo(that: T): Boolean

Returns true if this is ordered before that.