D
.mapNotNull { someMap[it]?.someValue to it}
Size: a a a
D
AN
someListOfIds().mapNotNull{element -> someMap[it]?.someValue?.let{it + element}
}AN
D
AN
D
.
filter {[it.
key]
!= null
}.
map { (key,
value)
->[key]!!
to someGlobalVariable
.
mapNotNull { it[key]
}.
map { it.
value
}.
fold(BigDecimal.
ZERO, BigDecimal::add)
.add(
value.
quantity)
D
AN
.
filter {[it.
key]
!= null
}.
map { (key,
value)
->[key]!!
to someGlobalVariable
.
mapNotNull { it[key]
}.
map { it.
value
}.
fold(BigDecimal.
ZERO, BigDecimal::add)
.add(
value.
quantity)
AN
D
D
AN
D
AN
АК
AN
SB
AN
AN
IK