toggle menu
BotCommands
JVM
switch theme
search in API
BotCommands
/
io.github.freya022.botcommands.api.commands.application
/
CommandMap
Command
Map
interface
CommandMap
<
T
:
ApplicationCommandInfo
>
:
Map
<
CommandPath
,
T
>
(
source
)
Map of command paths to their application command
Members
Members & Extensions
Properties
entries
Link copied to clipboard
abstract
val
entries
:
Set
<
Map.Entry
<
CommandPath
,
T
>
>
keys
Link copied to clipboard
abstract
val
keys
:
Set
<
CommandPath
>
size
Link copied to clipboard
abstract
val
size
:
Int
values
Link copied to clipboard
abstract
val
values
:
Collection
<
T
>
Functions
contains
Key
Link copied to clipboard
abstract
fun
containsKey
(
key
:
CommandPath
)
:
Boolean
contains
Value
Link copied to clipboard
abstract
fun
containsValue
(
value
:
T
)
:
Boolean
for
Each
Link copied to clipboard
open
fun
forEach
(
p0
:
BiConsumer
<
in
CommandPath
,
in
T
>
)
get
Link copied to clipboard
abstract
operator
fun
get
(
key
:
CommandPath
)
:
T
?
get
Or
Default
Link copied to clipboard
open
fun
getOrDefault
(
key
:
CommandPath
,
defaultValue
:
T
)
:
T
is
Empty
Link copied to clipboard
abstract
fun
isEmpty
(
)
:
Boolean
to
Immutable
Map
Link copied to clipboard
fun
<
K
,
V
>
Map
<
K
,
V
>
.
toImmutableMap
(
)
:
Map
<
K
,
V
>
unmodifiable
View
Link copied to clipboard
fun
<
K
,
V
>
Map
<
K
,
V
>
.
unmodifiableView
(
)
:
Map
<
K
,
V
>