toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.datastructure
/
SortOpsComparable
Sort
Ops
Comparable
object
SortOpsComparable
:
SortOps
<
MutableList
<
Comparable
<
Any
>
>
>
Members
Functions
compare
Link copied to clipboard
open
override
fun
compare
(
subject
:
MutableList
<
Comparable
<
Any
>
>
,
l
:
Int
,
r
:
Int
)
:
Int
reverse
Link copied to clipboard
open
fun
reverse
(
subject
:
MutableList
<
Comparable
<
Any
>
>
,
indexL
:
Int
,
indexR
:
Int
)
shift
Left
Link copied to clipboard
open
fun
shiftLeft
(
subject
:
MutableList
<
Comparable
<
Any
>
>
,
indexL
:
Int
,
indexR
:
Int
)
swap
Link copied to clipboard
open
override
fun
swap
(
subject
:
MutableList
<
Comparable
<
Any
>
>
,
indexL
:
Int
,
indexR
:
Int
)