io.github.serpro69.kfaker.dictionary.Dictionary.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-faker Show documentation
Show all versions of kotlin-faker Show documentation
https://github.com/serpro69/kotlin-faker
package io.github.serpro69.kfaker.dictionary
import java.util.*
/**
* Represents a map of yaml-based data categories (i.e. `address`, `book`, etc.) to their values.
*/
internal typealias Dictionary = EnumMap
/**
* Represents a dictionary data map of a given category (i.e. `address`)
* where the `key` is a "function name" (i.e. `address.city`).
*/
internal typealias YamlCategoryData = LinkedHashMap