toggle menu
api
0.9.3
jvm
switch theme
search in API
api
/
de.wiejack.kreator.builder.api
/
CollectionDsl
Collection
Dsl
class
CollectionDsl
<
T
>
(
val
target
:
MutableCollection
<
T
>
)
Members
Members & Extensions
Constructors
Collection
Dsl
Link copied to clipboard
constructor
(
target
:
MutableCollection
<
T
>
)
Properties
target
Link copied to clipboard
val
target
:
MutableCollection
<
T
>
Functions
add
Link copied to clipboard
infix
fun
add
(
toAdd
:
T
)
invoke
Link copied to clipboard
operator
fun
invoke
(
config
:
CollectionDsl
<
T
>
.
(
)
->
Unit
)
unary
Plus
Link copied to clipboard
operator
fun
T
.
unaryPlus
(
)
:
Boolean
with
Random
Values
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
)