toggle menu
Simple Robot
3.3.0
jvm
switch theme
search in API
simbot-api
/
love.forte.simbot
/
MutableIDMaps
Mutable
IDMaps
interface
MutableIDMaps
<
V
>
:
IDMaps
<
V
>
,
MutableMap
<
ID
,
V
>
(
source
)
以ID为Key的
MutableMap
。
Inheritors
ConcurrentIDMaps
Members
Properties
entries
Link copied to clipboard
abstract
val
entries
:
Set
<
Map.Entry
<
ID
,
V
>
>
keys
Link copied to clipboard
abstract
val
keys
:
Set
<
ID
>
size
Link copied to clipboard
abstract
val
size
:
Int
values
Link copied to clipboard
abstract
val
values
:
Collection
<
V
>
Functions
clear
Link copied to clipboard
abstract
fun
clear
(
)
compute
Link copied to clipboard
open
fun
compute
(
p0
:
ID
,
p1
:
BiFunction
<
in
ID
,
in
V
?
,
out
V
?
>
)
:
V
?
compute
If
Absent
Link copied to clipboard
open
fun
computeIfAbsent
(
p0
:
ID
,
p1
:
Function
<
in
ID
,
out
V
>
)
:
V
compute
If
Present
Link copied to clipboard
open
fun
computeIfPresent
(
p0
:
ID
,
p1
:
BiFunction
<
in
ID
,
in
V
&
Any
,
out
V
?
>
)
:
V
?
contains
Key
Link copied to clipboard
abstract
fun
containsKey
(
key
:
ID
)
:
Boolean
contains
Value
Link copied to clipboard
abstract
fun
containsValue
(
value
:
V
)
:
Boolean
for
Each
Link copied to clipboard
open
fun
forEach
(
p0
:
BiConsumer
<
in
ID
,
in
V
>
)
get
Link copied to clipboard
abstract
operator
fun
get
(
key
:
ID
)
:
V
?
get
Or
Default
Link copied to clipboard
open
fun
getOrDefault
(
key
:
ID
,
defaultValue
:
V
)
:
V
is
Empty
Link copied to clipboard
abstract
fun
isEmpty
(
)
:
Boolean
merge
Link copied to clipboard
open
fun
merge
(
p0
:
ID
,
p1
:
V
&
Any
,
p2
:
BiFunction
<
in
V
&
Any
,
in
V
&
Any
,
out
V
?
>
)
:
V
?
put
Link copied to clipboard
abstract
fun
put
(
key
:
ID
,
value
:
V
)
:
V
?
put
All
Link copied to clipboard
abstract
fun
putAll
(
from
:
Map
<
out
ID
,
V
>
)
put
If
Absent
Link copied to clipboard
open
fun
putIfAbsent
(
p0
:
ID
,
p1
:
V
)
:
V
?
remove
Link copied to clipboard
abstract
fun
remove
(
key
:
ID
)
:
V
?
open
fun
remove
(
key
:
ID
,
value
:
V
)
:
Boolean
replace
Link copied to clipboard
open
fun
replace
(
p0
:
ID
,
p1
:
V
)
:
V
?
open
fun
replace
(
p0
:
ID
,
p1
:
V
,
p2
:
V
)
:
Boolean
replace
All
Link copied to clipboard
open
fun
replaceAll
(
p0
:
BiFunction
<
in
ID
,
in
V
,
out
V
>
)