CommandArgumentContextBuilder
class CommandArgumentContextBuilder : MutableList<CommandArgumentContext.ParserPair<*>>
Content copied to clipboard
Constructors
CommandArgumentContextBuilder
Link copied to clipboard
Functions
add
Link copied to clipboard
open override fun add(element: CommandArgumentContext.ParserPair<*>): Boolean
Content copied to clipboard
inline fun <T : Any> add(parser: CommandValueArgumentParser<T>): CommandArgumentContextBuilder
Content copied to clipboard
open override fun add(index: Int, element: CommandArgumentContext.ParserPair<*>)
Content copied to clipboard
infix inline fun <T : Any> add(crossinline parser: CommandValueArgumentParser<*>.(s: String) -> T): CommandArgumentContextBuilder
Content copied to clipboard
infix inline fun <T : Any> add(crossinline parser: CommandValueArgumentParser<*>.(s: String, sender: CommandSender) -> T): CommandArgumentContextBuilder
Content copied to clipboard
添加一个指令解析器
addAll
Link copied to clipboard
open override fun addAll(elements: Collection<CommandArgumentContext.ParserPair<*>>): Boolean
Content copied to clipboard
open override fun addAll(index: Int, elements: Collection<CommandArgumentContext.ParserPair<*>>): Boolean
Content copied to clipboard
build
Link copied to clipboard
完成构建, 得到 CommandArgumentContext
contains
Link copied to clipboard
open operator override fun contains(element: CommandArgumentContext.ParserPair<*>): Boolean
Content copied to clipboard
containsAll
Link copied to clipboard
open override fun containsAll(elements: Collection<CommandArgumentContext.ParserPair<*>>): Boolean
Content copied to clipboard
forEach
Link copied to clipboard
get
Link copied to clipboard
open operator override fun get(index: Int): CommandArgumentContext.ParserPair<*>
Content copied to clipboard
indexOf
Link copied to clipboard
open override fun indexOf(element: CommandArgumentContext.ParserPair<*>): Int
Content copied to clipboard
iterator
Link copied to clipboard
open operator override fun iterator(): MutableIterator<CommandArgumentContext.ParserPair<*>>
Content copied to clipboard
lastIndexOf
Link copied to clipboard
open override fun lastIndexOf(element: CommandArgumentContext.ParserPair<*>): Int
Content copied to clipboard
listIterator
Link copied to clipboard
open override fun listIterator(): MutableListIterator<CommandArgumentContext.ParserPair<*>>
Content copied to clipboard
open override fun listIterator(index: Int): MutableListIterator<CommandArgumentContext.ParserPair<*>>
Content copied to clipboard
parallelStream
Link copied to clipboard
remove
Link copied to clipboard
open override fun remove(element: CommandArgumentContext.ParserPair<*>): Boolean
Content copied to clipboard
removeAll
Link copied to clipboard
open override fun removeAll(elements: Collection<CommandArgumentContext.ParserPair<*>>): Boolean
Content copied to clipboard
removeAt
Link copied to clipboard
open override fun removeAt(index: Int): CommandArgumentContext.ParserPair<*>
Content copied to clipboard
removeIf
Link copied to clipboard
open fun removeIf(p0: Predicate<in CommandArgumentContext.ParserPair<*>>): Boolean
Content copied to clipboard
replaceAll
Link copied to clipboard
open fun replaceAll(p0: UnaryOperator<CommandArgumentContext.ParserPair<*>>)
Content copied to clipboard
retainAll
Link copied to clipboard
open override fun retainAll(elements: Collection<CommandArgumentContext.ParserPair<*>>): Boolean
Content copied to clipboard
set
Link copied to clipboard
open operator override fun set(index: Int, element: CommandArgumentContext.ParserPair<*>): CommandArgumentContext.ParserPair<*>
Content copied to clipboard
sort
Link copied to clipboard
spliterator
Link copied to clipboard
open override fun spliterator(): Spliterator<CommandArgumentContext.ParserPair<*>>
Content copied to clipboard
stream
Link copied to clipboard
subList
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): MutableList<CommandArgumentContext.ParserPair<*>>
Content copied to clipboard
with
Link copied to clipboard
infix fun <T : Any> Class<T>.with(parser: CommandValueArgumentParser<T>): CommandArgumentContextBuilder
Content copied to clipboard
添加一个指令解析器.
infix inline fun <T : Any> KClass<T>.with(crossinline parser: CommandValueArgumentParser<T>.(s: String) -> T): CommandArgumentContextBuilder
Content copied to clipboard
infix inline fun <T : Any> KClass<T>.with(crossinline parser: CommandValueArgumentParser<T>.(s: String, sender: CommandSender) -> T): CommandArgumentContextBuilder
Content copied to clipboard
infix inline fun <T : Any> KClass<T>.with(parser: CommandValueArgumentParser<T>): CommandArgumentContextBuilder
Content copied to clipboard
添加一个指令解析器