Attributes

open class Attributes @JvmOverloads constructor(text: Map<String, String>, number: Map<String, Number>?, anonymous: Boolean)

Extra attributes to be used for evaluating features.

Constructors

Link copied to clipboard
fun Attributes(text: Map<String, String> = mapOf(), number: Map<String, Number>? = null, anonymous: Boolean = false)

Functions

Link copied to clipboard
fun copy(text: Map<String, String> = this.text, number: Map<String, Number>? = this.number, anonymous: Boolean = this.anonymous): Attributes
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
open override fun toString(): String
Link copied to clipboard
fun with(name: String, value: Number): Attributes
fun with(name: String, value: String): Attributes

Properties

Link copied to clipboard
val anonymous: Boolean = false
Link copied to clipboard
val number: Map<String, Number>? = null
Link copied to clipboard
val text: Map<String, String>