Counter

interface Counter<T : Any>

Common representation for atomic counters

Types

Companion
Link copied to clipboard
common
object Companion

Functions

add
Link copied to clipboard
common
abstract fun add(delta: T)

Properties

value
Link copied to clipboard
common
abstract val value: T

Inheritors

IntCounter
Link copied to clipboard
LongCounter
Link copied to clipboard
ObjectCounter
Link copied to clipboard