FloatArrayList

class FloatArrayList(capacity: Int = 7) : FloatList

Float growable ArrayList without boxing.

Constructors

Link copied to clipboard
constructor(other: FloatArrayList)
constructor(vararg other: Float)
constructor(capacity: Int = 7)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override var size: Int

Functions

Link copied to clipboard
fun add(values: FloatArrayList)
fun add(value: Float)
fun add(values: Iterable<Float>)
fun add(v0: Float, v1: Float)
fun add(v0: Float, v1: Float, v2: Float)
fun add(values: FloatArray, offset: Int = 0, length: Int = values.size)
fun add(v0: Float, v1: Float, v2: Float, v3: Float)
fun add(v0: Float, v1: Float, v2: Float, v3: Float, v4: Float)
fun add(v0: Float, v1: Float, v2: Float, v3: Float, v4: Float, v5: Float)
Link copied to clipboard
Link copied to clipboard
fun <T> Iterable<T>.associateByInt(block: (index: Int, value: T) -> Int): IntMap<T>
Link copied to clipboard
fun FloatArrayList.binarySearch(v: Float, fromIndex: Int = 0, toIndex: Int = size): BSearchResult
Link copied to clipboard
fun FloatArrayList.binarySearchLeft(v: Float, fromIndex: Int = 0, toIndex: Int = size): Int
Link copied to clipboard
fun FloatArrayList.binarySearchRight(v: Float, fromIndex: Int = 0, toIndex: Int = size): Int
Link copied to clipboard
fun Iterable<MRectangle>.bounds(target: MRectangle = MRectangle()): MRectangle
fun Iterable<MPoint>.bounds(out: MRectangle = MRectangle(), bb: MBoundsBuilder = MBoundsBuilder()): MRectangle
Link copied to clipboard
fun clear()
Link copied to clipboard
open override fun clone(): FloatArrayList
Link copied to clipboard
open operator override fun contains(element: Float): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<Float>): Boolean
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
inline fun FloatArrayList.fastForEach(callback: (Float) -> Unit)
Link copied to clipboard
inline fun FloatArrayList.fastForEachWithIndex(callback: (index: Int, value: Float) -> Unit)
Link copied to clipboard
inline fun <T> Collection<T>.fastRandom(): T
Link copied to clipboard
inline fun FloatArrayList.filter(callback: (Float) -> Boolean): FloatArrayList
Link copied to clipboard
open operator override fun get(index: Int): Float
Link copied to clipboard
open override fun getAt(index: Int): Float

Gets an item of the list without boxing

Link copied to clipboard
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun indexOf(element: Float): Int
open override fun indexOf(value: Float, start: Int, end: Int): Int
Link copied to clipboard
fun insertAt(index: Int, value: Float): FloatArrayList
fun insertAt(index: Int, v0: Float, v1: Float): FloatArrayList
fun insertAt(index: Int, value: FloatArray, start: Int = 0, end: Int = value.size): FloatArrayList
Link copied to clipboard
open override fun isAlmostEquals(other: FloatList, epsilon: Float): Boolean
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<Float>
Link copied to clipboard
open override fun lastIndexOf(element: Float): Int
open override fun lastIndexOf(value: Float, start: Int, end: Int): Int
Link copied to clipboard
open override fun listIterator(): ListIterator<Float>
open override fun listIterator(index: Int): ListIterator<Float>
Link copied to clipboard
inline fun <T> Iterable<T>.mapDouble(callback: (T) -> Double): DoubleArrayList
Link copied to clipboard
inline fun <T> Iterable<T>.mapFloat(callback: (T) -> Float): FloatArrayList
Link copied to clipboard
inline fun <T> Iterable<T>.mapInt(callback: (T) -> Int): IntArrayList
Link copied to clipboard
fun <T> Iterable<T>.multisorted(vararg props: KProperty1<T, Comparable<*>>): List<T>
Link copied to clipboard
operator fun plusAssign(value: FloatArrayList)
operator fun plusAssign(value: Float)
operator fun plusAssign(value: FloatArray)
operator fun plusAssign(value: Iterable<Float>)
Link copied to clipboard
fun removeAt(index: Int): Float
fun removeAt(index: Int, count: Int): Float
Link copied to clipboard
fun FloatArrayList.reverse(start: Int = 0, end: Int = size)
Link copied to clipboard
Link copied to clipboard
operator fun set(index: Int, value: Float)
Link copied to clipboard
fun setAt(index: Int, value: Float): Float
Link copied to clipboard
fun FloatArrayList.sort(start: Int = 0, end: Int = size, reversed: Boolean = false): FloatArrayList
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): List<Float>
Link copied to clipboard
@JvmName(name = "sumOfFloat")
inline fun <T> Iterable<T>.sumOfDouble(selector: (T) -> Double): Double
Link copied to clipboard
@JvmName(name = "sumOfFloat")
inline fun <T> Iterable<T>.sumOfFloat(selector: (T) -> Float): Float
Link copied to clipboard
fun swap(indexA: Int, indexB: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toFloatArray(): FloatArray
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String