plusAssign

abstract operator fun plusAssign(tag: Tag)

Appends the given value to this map.

Parameters

tag

Tag to add to this map.

Throws

If adding these new tags would increase the number of tags in this tag map to a value greater than 10.


abstract operator fun plusAssign(tags: Map<String, String>)

Appends the given values to this map.

Parameters

tags

Tags to add to this map.

Throws

If the given map of tags contains more than 10 elements.

If adding these new tags would increase the number of tags in this tag map to a value greater than 10.


abstract operator fun plusAssign(tag: Pair<String, String>)

Appends the given value to this map.

Usage:

map += "foo" to "bar"

Parameters

tag

Tag to add to this map.

Throws

as per the rules outlined in the Tag docs.

If adding these new tags would increase the number of tags in this tag map to a value greater than 10.