toggle menu
Simple Robot
3.3.0
jvm
switch theme
search in API
simbot-api
/
love.forte.simbot
/
MutableAttributeMap
/
computeIfAbsent
compute
If
Absent
abstract
fun
<
T
:
Any
>
computeIfAbsent
(
attribute
:
Attribute
<
T
>
,
mappingFunction
:
(
Attribute
<
T
>
)
->
T
)
:
T
(
source
)
如果不存在,则计算并存入。