FieldDataList

Constructors

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

Properties

Link copied to clipboard
open override val size: Int

Functions

Link copied to clipboard
open override fun add(element: FieldData): Boolean
open override fun add(index: Int, element: FieldData)
Link copied to clipboard
open override fun addAll(elements: Collection<FieldData>): Boolean
open override fun addAll(index: Int, elements: Collection<FieldData>): 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: FieldData): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<FieldData>): 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 findField(init: FindField.() -> Unit): FieldDataList

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

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

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

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

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

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

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

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

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

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

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

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