Sort [Src] [A: Seq[B] ref, B: Comparable[B] #read]
Implementation of dual-pivot quicksort.
primitive val Sort[A: Seq[B] ref, B: Comparable[B] #read]
Constructors
create [Src]
new val create()
: Sort[A, B] val^
Returns
- Sort[A, B] val^
Public Functions
apply [Src]
Sort the given seq.
fun box apply(
a: A)
: A^
Parameters
- a: A
Returns
- A^
eq [Src]
fun box eq(
that: Sort[A, B] val)
: Bool val
Parameters
- that: Sort[A, B] val
Returns
- Bool val
ne [Src]
fun box ne(
that: Sort[A, B] val)
: Bool val
Parameters
- that: Sort[A, B] val
Returns
- Bool val