DittoCounter

open class DittoCounter

Container for a number. See DittoMutableCounter which can be incremented and decremented.

Constructors

Link copied to clipboard
fun DittoCounter()

Functions

Link copied to clipboard
fun cbor(): Map<String, Any>

Builds a Map representation of the Counter ready to be translated to CBOR.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int

Properties

Link copied to clipboard
var value: Double = 0.0

Current value of the Counter.

Inheritors

Link copied to clipboard