object SortingI
The SortingI
companion object provides shortcuts for calling methods from
the SortingI
class.
- Alphabetic
- By Inheritance
- SortingI
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def imedian(a: Array[Int], k: Int): Int
Indirectly find the median value in the array.
Indirectly find the median value in the array.
- a
the array to be examined
- def iqsort(a: Array[Int]): Array[Int]
Fast, ascending, unstable indirect sort.
Fast, ascending, unstable indirect sort.
- a
the array to be sorted
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iselsort(a: Array[Int]): Array[Int]
Slow, ascending, stable indirect sort.
Slow, ascending, stable indirect sort.
- a
the array to be sorted
- def iselsort2(a: Array[Int]): Array[Int]
Slow, descending, stable indirect sort.
Slow, descending, stable indirect sort.
- a
the array to be sorted
- def median(a: Array[Int], k_: Int = -1): Int
Find the median value in the array.
Find the median value in the array.
- a
the array to be examined
- k_
specification for k-th smallest element
- def median3(a1: Int, a2: Int, a3: Int): Int
Find the median of three unordered numbers.
Find the median of three unordered numbers.
- a1
the first number
- a2
the second number
- a3
the third number
- Annotations
- @inline()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def qsort(a: Array[Int]): Unit
Fast, ascending, unstable sort.
Fast, ascending, unstable sort.
- a
the array to be sorted
- def qsort2(a: Array[Int]): Unit
Fast, descending, unstable sort.
Fast, descending, unstable sort.
- a
the array to be sorted
- def selsort(a: Array[Int]): Unit
Slow, ascending, stable sort.
Slow, ascending, stable sort.
- a
the array to be sorted
- def selsort2(a: Array[Int]): Unit
Slow, descending, stable sort.
Slow, descending, stable sort.
- a
the array to be sorted
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated