ClassDataList

Constructors

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

Properties

Link copied to clipboard
open override val size: Int

Functions

Link copied to clipboard
open override fun add(element: ClassData): Boolean
open override fun add(index: Int, element: ClassData)
Link copied to clipboard
open override fun addAll(elements: Collection<ClassData>): Boolean
open override fun addAll(index: Int, elements: Collection<ClassData>): 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: ClassData): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<ClassData>): 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 findClass(init: FindClass.() -> Unit): ClassDataList

Search in this list with multiple conditions.

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

Link copied to clipboard
inline fun findField(init: FindField.() -> Unit): FieldDataList

Search in this list with multiple conditions.

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

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: (ClassData) -> Boolean): ClassData

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: (ClassData) -> Boolean): ClassData?

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): ClassData

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 ClassData>)
Link copied to clipboard
open operator override fun get(index: Int): ClassData
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun indexOf(element: ClassData): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): MutableIterator<ClassData>
Link copied to clipboard
open override fun lastIndexOf(element: ClassData): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun remove(element: ClassData): Boolean
Link copied to clipboard
open override fun removeAll(elements: Collection<ClassData>): Boolean
Link copied to clipboard
open override fun removeAt(p0: Int): ClassData
Link copied to clipboard
open override fun removeIf(p0: Predicate<in ClassData>): Boolean
Link copied to clipboard
open override fun replaceAll(p0: UnaryOperator<ClassData>)
Link copied to clipboard
open override fun retainAll(elements: Collection<ClassData>): Boolean
Link copied to clipboard
open operator override fun set(index: Int, element: ClassData): ClassData
Link copied to clipboard

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

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

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

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: (ClassData) -> Boolean): ClassData?

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

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

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

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 ClassData>)
Link copied to clipboard
open override fun spliterator(): Spliterator<ClassData>
Link copied to clipboard
open fun stream(): Stream<ClassData>
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): MutableList<ClassData>
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()