//core/io.github.serpro69.kfaker.provider.misc/DefaultValuesStrategy
DefaultValuesStrategy¶
[jvm]\ enum DefaultValuesStrategy : Enum<DefaultValuesStrategy>
Entries¶
USE_DEFAULTS | [jvm] USE_DEFAULTS Uses default values of constructor parameters. |
PICK_RANDOMLY | [jvm] PICK_RANDOMLY Randomly picks either a default or a randomly-generated value of constructor parameters. |
ALL_RANDOM | [jvm] ALL_RANDOM Uses randomly-generated values of constructor parameters. |
Properties¶
Name | Summary |
---|---|
entries | [jvm] val entries: EnumEntries<DefaultValuesStrategy> 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): DefaultValuesStrategy 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<DefaultValuesStrategy> Returns an array containing the constants of this enum type, in the order they're declared. |