trait MedianModeCalculation extends AnyRef
- Alphabetic
- By Inheritance
- MedianModeCalculation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
def
addValue(v: Int): Unit
Adds a value to the internal array, grouping values together but not ordering them.
Adds a value to the internal array, grouping values together but not ordering them. If you call this after calling addValueOrdered, you'll probably break the ordering, so use one or the other. This one is faster, according to timing data.
-
def
addValueOrdered(v: Int): Unit
Adds a value to the internal array, ordering the values.
Adds a value to the internal array, ordering the values. If you call addValue after calling this you'll probably break the ordering, so use one or the other. This one is slower, according to timing data.
- val arr: Array[Int]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val currArrMax: Int
- val d2: Int
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def initArray(extent: Int): Unit
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
median: Int
Calculates the median.
Calculates the median. If you use this, make sure you've been only calling addValueOrdered
-
def
mode: Int
Calculates the mode.
Calculates the mode. Works with addValue or addValueOrdered
- val modeValue: Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def removeValue(v: Int): Unit
- def reset(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()