//core/io.github.serpro69.kfaker.dictionary/YamlCategory
YamlCategory¶
[jvm]\ enum YamlCategory : Enum<YamlCategory> , Category
This enum contains all default categories and matches with the names of the .yml files for 'en' locale.
If any new category is added to .yml file(s) a new class has to be added to this enum as well.
Entries¶
Types¶
Name | Summary |
---|---|
Companion | [jvm] object Companion |
Properties¶
Name | Summary |
---|---|
entries | [jvm] val entries: EnumEntries<YamlCategory> Returns a representation of an immutable list of all enum entries, in the order they're declared. |
name | [jvm] val name: String |
ordinal | [jvm] val ordinal: Int |
Functions¶
Name | Summary |
---|---|
valueOf | [jvm] fun valueOf(value: String): YamlCategory Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) |
values | [jvm] fun values(): Array<YamlCategory> Returns an array containing the constants of this enum type, in the order they're declared. |