ParametersHolder

open class ParametersHolder(_values: MutableList<Any?> = mutableListOf(), val useIndexedValues: Boolean? = null)

DefinitionParameters - Parameter holder Usable with exploded declaration

Author

  • Arnaud GIULIANI

Constructors

Link copied to clipboard
constructor(_values: MutableList<Any?> = mutableListOf(), useIndexedValues: Boolean? = null)

Properties

Link copied to clipboard
var index: Int
Link copied to clipboard
Link copied to clipboard
val values: List<Any?>

Functions

Link copied to clipboard
fun add(value: Any): ParametersHolder
Link copied to clipboard
inline operator fun <T> component1(): T
Link copied to clipboard
inline operator fun <T> component2(): T
Link copied to clipboard
inline operator fun <T> component3(): T
Link copied to clipboard
inline operator fun <T> component4(): T
Link copied to clipboard
inline operator fun <T> component5(): T
Link copied to clipboard
open fun <T> elementAt(i: Int, clazz: KClass<*>): T
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
inline fun <T : Any> get(): T

Get first element of given type T return T

operator fun <T> get(i: Int): T

get element at given index return T

Link copied to clipboard
inline fun <T : Any> getOrNull(): T?
open fun <T> getOrNull(clazz: KClass<*>): T?

Get first element of given type T return T

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun insert(index: Int, value: Any): ParametersHolder
Link copied to clipboard

Tells if it has no parameter

Link copied to clipboard

Tells if it has parameters

Link copied to clipboard
fun <T> set(i: Int, t: T)
Link copied to clipboard
fun size(): Int

Number of contained elements

Link copied to clipboard
open override fun toString(): String