BuilderWithValue
Functions
Link copied to clipboard
Builds the Builder into a ValidatedMap
Link copied to clipboard
fun defaultId(default: Pair<Identifier, V>): ValidatedStringMap.Builder.BuilderWithKey.BuilderWithValue<V>
fun defaultId(key: Identifier, value: V): ValidatedStringMap.Builder.BuilderWithKey.BuilderWithValue<V>
Defines a single default key-value pair
Link copied to clipboard
fun defaultIds(vararg defaults: Pair<Identifier, V>): ValidatedStringMap.Builder.BuilderWithKey.BuilderWithValue<V>
fun defaultIds(defaults: Map<Identifier, V>): ValidatedStringMap.Builder.BuilderWithKey.BuilderWithValue<V>
Defines the default map used in the ValidatedMap