toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom.trapezoid
/
FSegmentsInt
/
SortOps
Sort
Ops
class
SortOps
(
val
gen
:
FSegmentsInt
.
(
FSegmentsInt.Item
)
->
Int
)
:
SortOps
<
FSegmentsInt
>
Members
Constructors
Sort
Ops
Link copied to clipboard
constructor
(
gen
:
FSegmentsInt
.
(
FSegmentsInt.Item
)
->
Int
)
Properties
gen
Link copied to clipboard
val
gen
:
FSegmentsInt
.
(
FSegmentsInt.Item
)
->
Int
Functions
compare
Link copied to clipboard
open
override
fun
compare
(
subject
:
FSegmentsInt
,
l
:
Int
,
r
:
Int
)
:
Int
reverse
Link copied to clipboard
open
fun
reverse
(
subject
:
FSegmentsInt
,
indexL
:
Int
,
indexR
:
Int
)
shift
Left
Link copied to clipboard
open
fun
shiftLeft
(
subject
:
FSegmentsInt
,
indexL
:
Int
,
indexR
:
Int
)
swap
Link copied to clipboard
open
override
fun
swap
(
subject
:
FSegmentsInt
,
indexL
:
Int
,
indexR
:
Int
)