Order

interface Order<T> : Comparator<T> (source)

Interface representing an order of elements.

It is a Comparator which compares two elements and returns an integer value based on their order.

Parameters

T

The type of elements being compared.

Inheritors

Functions

Link copied to clipboard
abstract override fun compare(first: T, second: T): Int