open class DefinitionParameters
DefinitionParameters - Parameter holder Usable with exploded declaration
Author
<init> |
DefinitionParameters - Parameter holder Usable with exploded declaration DefinitionParameters(values: List<Any?> = listOf()) |
values |
val values: List<Any?> |
add |
fun add(value: Any): DefinitionParameters |
component1 |
operator fun <T> component1(): T |
component2 |
operator fun <T> component2(): T |
component3 |
operator fun <T> component3(): T |
component4 |
operator fun <T> component4(): T |
component5 |
operator fun <T> component5(): T |
elementAt |
open fun <T> elementAt(i: Int, clazz: KClass<*>): T |
get |
get element at given index return T operator fun <T> get(i: Int): T
Get first element of given type T return T fun <T : Any> get(): T |
getOrNull |
Get first element of given type T return T open fun <T : Any> getOrNull(clazz: KClass<T>): T? |
insert |
fun insert(index: Int, value: Any): DefinitionParameters |
isEmpty |
Tells if it has no parameter fun isEmpty(): Boolean |
isNotEmpty |
Tells if it has parameters fun isNotEmpty(): Boolean |
set |
fun <T> set(i: Int, t: T): Unit |
size |
Number of contained elements fun size(): Int |
toString |
open fun toString(): String |
MAX_PARAMS |
const val MAX_PARAMS: Int |