DittoMutableCounter

Container for a number that can be incremented and decremented.

Properties

Link copied to clipboard

Current value of the Counter.

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
Link copied to clipboard
fun increment(amount: Double)

Increments the underlying value by the given amount. Provide a negative value to decrement.