Statistic

interface Statistic<out V>

Base interface for Statistic. Used as field of StatisticNote.

Creates with Statistic.

Properties

Link copied to clipboard
abstract val name: String

name - includes a name for the statistical data For example: "BEST", "WORST", "AVG"

Link copied to clipboard
abstract val value: V

value - includes value for the statistical data For example: "25", "12", "15.4"

Functions

Link copied to clipboard
open operator fun component1(): String
Link copied to clipboard
open operator fun component2(): V
Link copied to clipboard
open operator fun getValue(thisRef: Any?, property: KProperty<*>): V