WordScheme
data class WordScheme(var myName: String = DEFAULT_NAME, var minLength: Int = DEFAULT_MIN_LENGTH, var maxLength: Int = DEFAULT_MAX_LENGTH, var enclosure: String = DEFAULT_ENCLOSURE, var capitalization: CapitalizationMode = DEFAULT_CAPITALIZATION, var bundledDictionaryFiles: MutableSet<String> = DEFAULT_BUNDLED_DICTIONARY_FILES.toMutableSet(), var activeBundledDictionaryFiles: MutableSet<String> = DEFAULT_ACTIVE_BUNDLED_DICTIONARY_FILES.toMutableSet(), var userDictionaryFiles: MutableSet<String> = DEFAULT_USER_DICTIONARY_FILES.toMutableSet(), var activeUserDictionaryFiles: MutableSet<String> = DEFAULT_ACTIVE_USER_DICTIONARY_FILES.toMutableSet()) : Scheme<WordScheme> (source)
Contains settings for generating random words.
See also
Constructors
Link copied to clipboard
fun WordScheme(myName: String = DEFAULT_NAME, minLength: Int = DEFAULT_MIN_LENGTH, maxLength: Int = DEFAULT_MAX_LENGTH, enclosure: String = DEFAULT_ENCLOSURE, capitalization: CapitalizationMode = DEFAULT_CAPITALIZATION, bundledDictionaryFiles: MutableSet<String> = DEFAULT_BUNDLED_DICTIONARY_FILES.toMutableSet(), activeBundledDictionaryFiles: MutableSet<String> = DEFAULT_ACTIVE_BUNDLED_DICTIONARY_FILES.toMutableSet(), userDictionaryFiles: MutableSet<String> = DEFAULT_USER_DICTIONARY_FILES.toMutableSet(), activeUserDictionaryFiles: MutableSet<String> = DEFAULT_ACTIVE_USER_DICTIONARY_FILES.toMutableSet())
Types
Functions
Link copied to clipboard
Returns a copy of this scheme that has the given name.
Link copied to clipboard
Shallowly copies the state of other into this
.
Link copied to clipboard
Properties
Link copied to clipboard
A mutable view of the filenames of the files in activeBundledDictionaryFiles.
Link copied to clipboard
The list of bundled dictionary files that are currently active; a subset of bundledDictionaryFiles.
Link copied to clipboard
A mutable view of the filenames of the files in activeUserDictionaryFiles.
Link copied to clipboard
The list of user dictionary files that are currently active; a subset of userDictionaryFiles.
Link copied to clipboard
A mutable view of the filenames of the files in bundledDictionaryFiles.
Link copied to clipboard
Link copied to clipboard
A mutable view of the filenames of the files in userDictionaryFiles.
Link copied to clipboard