Comparator
Provides comparison of two elements. Alternative of Kotlin stdlib Comparator but with result of type ComparisonResult.
Type Parameters
The type of elements this comparator can compare.
Types
Companion object for Comparator interface providing factory methods for creating Comparator instances.
Properties
Returns a Comparator for nullable elements where null is considered the greatest value.
Returns a Comparator for elements wrapped in Maybe where None is considered the least value.
Returns a Comparator for nullable elements where null is considered the greatest value.
Returns a Comparator for nullable elements where null is considered the least value.
Functions
Converts Kone Comparator to Kotlin stdlib Comparator.
Order builder from a Comparator that compares the left and right elements to each other.