simple-robot
3.0.0-RC.2
simbot-api
/
love.forte.simbot
/
MutableAttributeMap
/
computeIfAbsent
compute
If
Absent
abstract
fun
<
T
:
Any
>
computeIfAbsent
(
attribute
:
Attribute
<
T
>
,
mappingFunction
:
(
Attribute
<
T
>
)
->
T
)
:
T
如果不存在,则计算并存入。