DoubleArrayList

class DoubleArrayList(capacity: Int = 7) : DoubleList

Double growable ArrayList without boxing.

Constructors

Link copied to clipboard
constructor(other: DoubleArrayList)
constructor(vararg other: Double)
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: DoubleArrayList)
fun add(v0: Double)
fun add(values: Iterable<Double>)
fun add(v0: Double, v1: Double)
fun add(v0: Double, v1: Double, v2: Double)
fun add(values: DoubleArray, offset: Int = 0, length: Int = values.size)
fun add(v0: Double, v1: Double, v2: Double, v3: Double)
fun add(v0: Double, v1: Double, v2: Double, v3: Double, v4: Double)
fun add(v0: Double, v1: Double, v2: Double, v3: Double, v4: Double, v5: Double)
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 DoubleArrayList.binarySearch(v: Double, fromIndex: Int = 0, toIndex: Int = size): BSearchResult
Link copied to clipboard
fun DoubleArrayList.binarySearchLeft(v: Double, fromIndex: Int = 0, toIndex: Int = size): Int
Link copied to clipboard
fun DoubleArrayList.binarySearchRight(v: Double, 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(): DoubleArrayList
Link copied to clipboard
open operator override fun contains(element: Double): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<Double>): Boolean
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
inline fun DoubleArrayList.fastForEach(callback: (Double) -> Unit)
Link copied to clipboard
inline fun DoubleArrayList.fastForEachWithIndex(callback: (index: Int, value: Double) -> Unit)
Link copied to clipboard
inline fun <T> Collection<T>.fastRandom(): T
Link copied to clipboard
Link copied to clipboard
open operator override fun get(index: Int): Double
Link copied to clipboard
open override fun getAt(index: Int): Double

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(value: Double, start: Int, end: Int): Int
open fun indexOf(element: Double): Int
Link copied to clipboard
fun insertAt(index: Int, value: Double): DoubleArrayList
fun insertAt(index: Int, v0: Double, v1: Double): DoubleArrayList
fun insertAt(index: Int, values: DoubleArray, start: Int = 0, end: Int = values.size): DoubleArrayList
Link copied to clipboard
open override fun isAlmostEquals(other: DoubleList, epsilon: Double): Boolean
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<Double>
Link copied to clipboard
open override fun lastIndexOf(value: Double, start: Int, end: Int): Int
open fun lastIndexOf(element: Double): Int
Link copied to clipboard
open override fun listIterator(index: Int): ListIterator<Double>
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: DoubleArrayList)
operator fun plusAssign(value: Double)
operator fun plusAssign(value: DoubleArray)
operator fun plusAssign(value: Iterable<Double>)
Link copied to clipboard
fun removeAt(index: Int): Double
fun removeAt(index: Int, count: Int): Double
Link copied to clipboard
fun DoubleArrayList.reverse(start: Int = 0, end: Int = size)
Link copied to clipboard
Link copied to clipboard
operator fun set(index: Int, value: Double)
Link copied to clipboard
fun setAt(index: Int, value: Double): Double
Link copied to clipboard
fun DoubleArrayList.sort(start: Int = 0, end: Int = size, reversed: Boolean = false): DoubleArrayList
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): List<Double>
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
open override fun toDoubleArray(): DoubleArray
Link copied to clipboard
Link copied to clipboard
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