apply
apply
Initialize an object without its own fluent builder api
creating a builder interface on top of void/Unit methods/operations
fun
buildObject
() : Calendar {
return
Calendar.
getInstance
().
apply
{
set
(
2017
,
3
,
1
,
4
,
56
,
34
) } }
Back
Home
Next