TagMap

interface TagMap : Iterable<Tag>

Immutable map of Tag instances.

Author

Elizabeth Paige Harper https://github.com/Foxcapades

Since

v0.1.0

Functions

Link copied to clipboard
open fun forEach(p0: Consumer<in Tag>)
Link copied to clipboard
abstract operator fun get(key: String): String?

Gets the value for the tag with the given name (key).

Link copied to clipboard
abstract operator fun iterator(): Iterator<Tag>
Link copied to clipboard
Link copied to clipboard
abstract fun stream(): Stream<Tag>

Returns a stream over the contents of this TagMap.

Link copied to clipboard
abstract fun toList(): List<Tag>

Returns the contents of this TagMap as a list of Tag instances.

Link copied to clipboard
abstract fun toMap(): Map<String, String>

Returns the contents of this TagMap as a map of string key to string value.

Link copied to clipboard
abstract fun toSet(): Set<Tag>

Returns the contents of this TagMap as a set of Tag instances.

Properties

Link copied to clipboard
abstract val isEmpty: Boolean

Whether this MutableTagMap is empty.

Link copied to clipboard
abstract val isNotEmpty: Boolean

Whether this MutableTagMap is not empty.

Link copied to clipboard
abstract val size: Int

Number of tag pairs currently in this MutableTagMap

Inheritors

Link copied to clipboard