Median

class Median<T>(comparator: Comparator<T>) : BlockingStatistic<T, T> (source)

Non-composable median

Constructors

Link copied to clipboard
constructor(comparator: Comparator<T>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open suspend override fun evaluate(data: Buffer<T>): T
Link copied to clipboard
open override fun evaluateBlocking(data: Buffer<T>): T
Link copied to clipboard
operator fun <T, R> BlockingStatistic<T, R>.invoke(data: Buffer<T>): R
suspend operator fun <T, R> Statistic<T, R>.invoke(data: Buffer<T>): R