data class ArrayScheme : Scheme<ArrayScheme>
Contains settings for generating arrays of other types of random values.
ArrayScheme(myName: String = DEFAULT_NAME, count: Int = DEFAULT_COUNT, brackets: String = DEFAULT_BRACKETS, separator: String = DEFAULT_SEPARATOR, isSpaceAfterSeparator: Boolean = DEFAULT_SPACE_AFTER_SEPARATOR)
Contains settings for generating arrays of other types of random values. |
var brackets: String
The brackets to surround arrays with. |
|
var count: Int
The number of elements to generate. |
|
var isSpaceAfterSeparator: Boolean
True iff a space should be placed after each separator. |
|
var myName: String
The name of the scheme. |
|
var separator: String
The string to place between generated elements. |
fun arrayify(strings: Collection<String>): String
Turns a collection of strings into a single string based on the fields of this |
|
fun copyAs(name: String): ArrayScheme
Returns a copy of this scheme that has the given name. |
|
fun copyFrom(other: ArrayScheme): Unit
Shallowly copies the state of other into |
open fun getName(): String
Same as myName. |
const val DEFAULT_BRACKETS: String
The default value of the brackets field. |
|
const val DEFAULT_COUNT: Int
The default value of the count field. |
|
const val DEFAULT_SEPARATOR: String
The default value of the separator field. |
|
const val DEFAULT_SPACE_AFTER_SEPARATOR: Boolean
The default value of the isSpaceAfterSeparator field. |