CommandArgument

class CommandArgument(array: List<String>) : List<String>

コマンドの引数。

Since

1.2.0

Parameters

array

実際の引数

Constructors

CommandArgument
Link copied to clipboard
fun CommandArgument(array: List<String>)
実際の引数

Functions

contains
Link copied to clipboard
open operator override fun contains(element: String): Boolean
containsAll
Link copied to clipboard
open override fun containsAll(elements: Collection<String>): Boolean
forEach
Link copied to clipboard
open fun forEach(p0: Consumer<in String>)
get
Link copied to clipboard
open operator override fun get(index: Int): String
indexOf
Link copied to clipboard
open override fun indexOf(element: String): Int
isEmpty
Link copied to clipboard
open override fun isEmpty(): Boolean
iterator
Link copied to clipboard
open operator override fun iterator(): Iterator<String>
lastIndexOf
Link copied to clipboard
open override fun lastIndexOf(element: String): Int
listIterator
Link copied to clipboard
open override fun listIterator(): ListIterator<String>
open override fun listIterator(index: Int): ListIterator<String>
lowerOrNull
Link copied to clipboard
fun lowerOrNull(index: Int): String?
小文字・大文字を区別せずに引数の判定を行える。以下の処理を実行しているだけだが、使うことが多いので定義されている。
getOrNull(index)?.toLowerCase()
parallelStream
Link copied to clipboard
open fun parallelStream(): Stream<String>
spliterator
Link copied to clipboard
open override fun spliterator(): Spliterator<String>
stream
Link copied to clipboard
open fun stream(): Stream<String>
subList
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): List<String>

Properties

size
Link copied to clipboard
open override val size: Int