AttributeBuilder

open class AttributeBuilder : MutableMap<String, JsonPrimitive> (source)

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val Map<String, JsonPrimitive>.disabled: Map<String, JsonPrimitive>
Link copied to clipboard
open override val entries: MutableSet<MutableMap.MutableEntry<String, JsonPrimitive>>
Link copied to clipboard
open override val keys: MutableSet<String>
Link copied to clipboard
open override val size: Int
Link copied to clipboard
open override val values: MutableCollection<JsonPrimitive>

Functions

Link copied to clipboard
fun Map<String, JsonPrimitive>.classes(vararg classes: String, onlyIf: Boolean = true): Map<String, JsonPrimitive>
fun Map<String, JsonPrimitive>.classes(classes: Iterable<String>, condition: Boolean = true): Map<String, JsonPrimitive>
Link copied to clipboard
open override fun clear()
Link copied to clipboard
open fun compute(p0: String, p1: BiFunction<in String, in JsonPrimitive?, out JsonPrimitive?>): JsonPrimitive?
Link copied to clipboard
open fun computeIfAbsent(p0: String, p1: Function<in String, out JsonPrimitive>): JsonPrimitive
Link copied to clipboard
open fun computeIfPresent(p0: String, p1: BiFunction<in String, in JsonPrimitive, out JsonPrimitive?>): JsonPrimitive?
Link copied to clipboard
open override fun containsKey(key: String): Boolean
Link copied to clipboard
open override fun containsValue(value: JsonPrimitive): Boolean
Link copied to clipboard
open fun forEach(p0: BiConsumer<in String, in JsonPrimitive>)
Link copied to clipboard
open operator override fun get(key: String): JsonPrimitive?
Link copied to clipboard
open fun getOrDefault(key: String, defaultValue: JsonPrimitive): JsonPrimitive
Link copied to clipboard
fun Map<String, JsonPrimitive>.id(id: String): Map<String, JsonPrimitive>
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open fun merge(p0: String, p1: JsonPrimitive, p2: BiFunction<in JsonPrimitive, in JsonPrimitive, out JsonPrimitive?>): JsonPrimitive?
Link copied to clipboard
open override fun put(key: String, value: JsonPrimitive): JsonPrimitive?
Link copied to clipboard
open override fun putAll(from: Map<out String, JsonPrimitive>)
Link copied to clipboard
open fun putIfAbsent(p0: String, p1: JsonPrimitive): JsonPrimitive?
Link copied to clipboard
open override fun remove(key: String): JsonPrimitive?
open fun remove(key: String, value: JsonPrimitive): Boolean
Link copied to clipboard
open fun replace(p0: String, p1: JsonPrimitive): JsonPrimitive?
open fun replace(p0: String, p1: JsonPrimitive, p2: JsonPrimitive): Boolean
Link copied to clipboard
open fun replaceAll(p0: BiFunction<in String, in JsonPrimitive, out JsonPrimitive>)
Link copied to clipboard
fun Map<String, JsonPrimitive>.set(key: String, value: JsonPrimitive): Map<String, JsonPrimitive>