StringScheme
data class StringScheme(myName: String, minLength: Int, maxLength: Int, enclosure: String, capitalization: CapitalizationMode, serializedSymbolSets: Map<String, String>, serializedActiveSymbolSets: Map<String, String>, excludeLookAlikeSymbols: Boolean) : Scheme<StringScheme>
Content copied to clipboard
Contains settings for generating random strings.
See also
Constructors
StringScheme
Link copied to clipboard
fun StringScheme(myName: String = DEFAULT_NAME, minLength: Int = DEFAULT_MIN_LENGTH, maxLength: Int = DEFAULT_MAX_LENGTH, enclosure: String = DEFAULT_ENCLOSURE, capitalization: CapitalizationMode = DEFAULT_CAPITALIZATION, serializedSymbolSets: Map<String, String> = DEFAULT_SYMBOL_SETS.toMap(), serializedActiveSymbolSets: Map<String, String> = DEFAULT_ACTIVE_SYMBOL_SETS.toMap(), excludeLookAlikeSymbols: Boolean = DEFAULT_EXCLUDE_LOOK_ALIKE_SYMBOLS)
Content copied to clipboard
Types
Functions
copyAs
Link copied to clipboard
copyFrom
Link copied to clipboard
getDisplayName
Link copied to clipboard
Properties
activeSymbolSetList
Link copied to clipboard
activeSymbolSets
Link copied to clipboard
Same as activeSymbolSets, except that serialized emoji have been deserialized.
capitalization
Link copied to clipboard
excludeLookAlikeSymbols
Link copied to clipboard
Whether the symbols in SymbolSet.lookAlikeCharacters should be excluded.
serializedActiveSymbolSets
Link copied to clipboard
The symbol sets that are actually used for generating strings; a subset of symbolSets.
serializedSymbolSets
Link copied to clipboard
symbolSetList
Link copied to clipboard
symbolSets
Link copied to clipboard
Same as symbolSets, except that serialized emoji have been deserialized.
Sources
jvm source
Link copied to clipboard