MethodDataList

Constructors

Link copied to clipboard
constructor()
constructor(initialCapacity: Int)
constructor(elements: Collection<MethodData>)

Properties

Link copied to clipboard
open override val size: Int

Functions

Link copied to clipboard
open override fun add(element: MethodData): Boolean
open override fun add(index: Int, element: MethodData)
Link copied to clipboard
open override fun addAll(elements: Collection<MethodData>): Boolean
open override fun addAll(index: Int, elements: Collection<MethodData>): Boolean
Link copied to clipboard
open override fun clear()
Link copied to clipboard
open override fun clone(): Any
Link copied to clipboard
open operator override fun contains(element: MethodData): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<MethodData>): Boolean
Link copied to clipboard
open fun ensureCapacity(p0: Int)
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
inline fun findMethod(init: FindMethod.() -> Unit): MethodDataList

Search in this list with multiple conditions.

----------------

Link copied to clipboard

Returns the first element, or throws an exception if the list is empty. None-unique results may cause unexpected problems and are not recommended.

fun first(predicate: (MethodData) -> Boolean): MethodData

Returns the first element matching the given predicate, or throws an exception if no such element was found. None-unique results may cause unexpected problems and are not recommended.

Link copied to clipboard

Returns the first element, or null if the list is empty. None-unique results may cause unexpected problems and are not recommended.

fun firstOrNull(predicate: (MethodData) -> Boolean): MethodData?

Returns the first element matching the given predicate, or null if no such element was found. None-unique results may cause unexpected problems and are not recommended.

Link copied to clipboard
fun firstOrThrow(exceptionSupplier: () -> Throwable): MethodData

Returns the first element, or throws the specified exception if the list is empty. None-unique results may cause unexpected problems and are not recommended.

Link copied to clipboard
open override fun forEach(p0: Consumer<in MethodData>)
Link copied to clipboard
open operator override fun get(index: Int): MethodData
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun indexOf(element: MethodData): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): MutableIterator<MethodData>
Link copied to clipboard
open override fun lastIndexOf(element: MethodData): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun remove(element: MethodData): Boolean
Link copied to clipboard
open override fun removeAll(elements: Collection<MethodData>): Boolean
Link copied to clipboard
open override fun removeAt(p0: Int): MethodData
Link copied to clipboard
open override fun removeIf(p0: Predicate<in MethodData>): Boolean
Link copied to clipboard
open override fun replaceAll(p0: UnaryOperator<MethodData>)
Link copied to clipboard
open override fun retainAll(elements: Collection<MethodData>): Boolean
Link copied to clipboard
open operator override fun set(index: Int, element: MethodData): MethodData
Link copied to clipboard

Returns the first element, or throws an exception if the list length is not 1.

----------------

fun single(predicate: (MethodData) -> Boolean): MethodData

Returns the first element matching the given predicate, or throws an exception if no such element was found.

----------------

Link copied to clipboard

Returns the first element, or null if the list length is not 1.

----------------

fun singleOrNull(predicate: (MethodData) -> Boolean): MethodData?

Returns the first element matching the given predicate, or null if no such element was found.

----------------

Link copied to clipboard
fun singleOrThrow(exceptionSupplier: () -> Throwable): MethodData

Returns the first element, or throws the specified exception if the list length is not 1.

----------------

Link copied to clipboard
open override fun sort(p0: Comparator<in MethodData>)
Link copied to clipboard
open override fun spliterator(): Spliterator<MethodData>
Link copied to clipboard
open fun stream(): Stream<MethodData>
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): MutableList<MethodData>
Link copied to clipboard
open override fun toArray(): Array<Any>
open override fun <T : Any> toArray(p0: Array<T>): Array<T>
open fun <T : Any> toArray(p0: IntFunction<Array<T>>): Array<T>
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun trimToSize()