CollectionDsl

class CollectionDsl<T>(val target: MutableCollection<T>)

Constructors

Link copied to clipboard
constructor(target: MutableCollection<T>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
infix fun add(toAdd: T)
Link copied to clipboard
operator fun invoke(config: CollectionDsl<T>.() -> Unit)
Link copied to clipboard
operator fun T.unaryPlus(): Boolean
Link copied to clipboard
@JvmName(name = "withRandomValuesBigDecimal")
fun CollectionDsl<in BigDecimal>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesLocalDateTime")
fun CollectionDsl<in LocalDateTime>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesLocalDate")
fun CollectionDsl<in LocalDate>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesUUID")
fun CollectionDsl<in UUID>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesDouble")
fun CollectionDsl<in Double>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesFloat")
fun CollectionDsl<in Float>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesInt")
fun CollectionDsl<in Int>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesLong")
fun CollectionDsl<in Long>.withRandomValues(count: Int = 2)
@JvmName(name = "withRandomValuesString")
fun CollectionDsl<in String>.withRandomValues(count: Int = 2)