DynamicDataPair
class DynamicDataPair<T : DynamicBuilders.DynamicType>
A pair of DynamicDataKey and its corresponding DynamicDataValue. This is similar to Pair but makes sure key and value have the same generic type parameter.
Summary
Public constructors |
|---|
<T : DynamicBuilders.DynamicType> DynamicDataPair( |
Public functions |
|
|---|---|
Pair<DynamicDataKey<T>, DynamicDataBuilders.DynamicDataValue<T>> |
asPair() |
Public properties |
|
|---|---|
DynamicDataKey<T> |
represent a key that other APIs can use to reference |
DynamicDataBuilders.DynamicDataValue<T> |
to use for evaluating references to |
Public constructors
DynamicDataPair
<T : DynamicBuilders.DynamicType> DynamicDataPair(
key: DynamicDataKey<T>,
value: DynamicDataBuilders.DynamicDataValue<T>
)
Public functions
asPair
Added in 1.3.0
fun asPair(): Pair<DynamicDataKey<T>, DynamicDataBuilders.DynamicDataValue<T>>
Public properties
key
Added in 1.3.0
val key: DynamicDataKey<T>
represent a key that other APIs can use to reference values value.
value
Added in 1.3.0
val value: DynamicDataBuilders.DynamicDataValue<T>
to use for evaluating references to key.