BaseSubList

open class BaseSubList<T>(val list: List<T>, start: Int, end: Int) : BaseList<T>

Inheritors

Constructors

Link copied to clipboard
constructor(list: List<T>, start: Int, end: Int)

Properties

Link copied to clipboard
var end: Int
Link copied to clipboard
val list: List<T>
Link copied to clipboard
open override val size: Int
Link copied to clipboard
var start: Int
Link copied to clipboard

Functions

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 Iterable<MRectangle>.bounds(target: MRectangle = MRectangle()): MRectangle
fun Iterable<MPoint>.bounds(out: MRectangle = MRectangle(), bb: MBoundsBuilder = MBoundsBuilder()): MRectangle
fun List<MPoint>.bounds(out: MRectangle = MRectangle(), bb: MBoundsBuilder = MBoundsBuilder()): MRectangle
Link copied to clipboard
fun checkIndex(index: Int): Int
Link copied to clipboard
open operator override fun contains(element: T): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<T>): Boolean
Link copied to clipboard
Link copied to clipboard
fun <T> List<T>.countMap(): Map<T, Int>
Link copied to clipboard
Link copied to clipboard
inline fun <T> List<T>.fastForEach(callback: (T) -> Unit)
Link copied to clipboard
inline fun List<Curves>.fastForEachBezier(block: (Bezier) -> Unit)
Link copied to clipboard
inline fun <T> List<T>.fastForEachReverse(callback: (T) -> Unit)
Link copied to clipboard
inline fun <T> List<T>.fastForEachWithIndex(callback: (index: Int, value: T) -> Unit)
Link copied to clipboard
inline fun <T> List<T>.fastForEachWithTemp(temp: FastArrayList<T>, callback: (T) -> Unit)
Link copied to clipboard
inline fun <T> Collection<T>.fastRandom(): T
Link copied to clipboard
Link copied to clipboard
fun <T : Comparable<T>> List<T>.genericSorted(left: Int = 0, right: Int = size - 1): List<T>
Link copied to clipboard
open operator override fun get(index: Int): T
Link copied to clipboard
fun <T> List<T>.getCyclic(index: Int): T
Link copied to clipboard
fun <T> List<T>.getCyclicOrNull(index: Int): T?
Link copied to clipboard
open override fun indexOf(element: T): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<T>
Link copied to clipboard
open override fun lastIndexOf(element: T): Int
Link copied to clipboard
open override fun listIterator(): ListIterator<T>
open override fun listIterator(index: Int): ListIterator<T>
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
inline fun <T, R> List<T>.parallelMap(crossinline transform: (T) -> R): List<R>
Link copied to clipboard
inline fun <T> List<T>.parallelMapInt(crossinline transform: (T) -> Int): IntArray
Link copied to clipboard
fun List<TrapezoidInt>.pointInside(x: Int, y: Int, assumeSorted: Boolean = false): TrapezoidInt?
Link copied to clipboard
fun <T> List<T>.random(random: Random = Random): T
Link copied to clipboard
fun <T> List<T>.randomWithWeights(weights: List<Double>, random: Random = Random): T
Link copied to clipboard
fun <T> List<T>.reader(): ListReader<T>
Link copied to clipboard
fun <T> List<T>.rotated(offset: Int): List<T>
Link copied to clipboard
fun <T> List<T>.rotatedLeft(offset: Int = +1): List<T>
Link copied to clipboard
fun <T> List<T>.rotatedRight(offset: Int = +1): List<T>
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): List<T>
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 <T : Comparable<T>> List<T>.timSorted(): List<T>
Link copied to clipboard
@JvmName(name = "ListCurve_toCurves")
fun List<Bezier>.toCurves(closed: Boolean): Curves
@JvmName(name = "ListCurves_toCurves")
fun List<Curves>.toCurves(closed: Boolean = this.last().closed): Curves
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T> List<T>.toFastList(): List<T>
fun <T> List<T>.toFastList(out: FastArrayList<T> = FastArrayList()): FastArrayList<T>
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun List<Curves>.toStrokePointsList(info: StrokeInfo, mode: StrokePointsMode = StrokePointsMode.NON_SCALABLE_POS, generateDebug: Boolean = false, forceClosed: Boolean? = null): List<StrokePoints>
fun List<Curves>.toStrokePointsList(width: Double, join: LineJoin = LineJoin.MITER, startCap: LineCap = LineCap.BUTT, endCap: LineCap = LineCap.BUTT, miterLimit: Double = 10.0, mode: StrokePointsMode = StrokePointsMode.NON_SCALABLE_POS, lineDash: DoubleList? = null, lineDashOffset: Double = 0.0, generateDebug: Boolean = false, forceClosed: Boolean? = null): List<StrokePoints>
Link copied to clipboard
fun List<Curve>.toVectorPath(out: VectorPath = VectorPath()): VectorPath
Link copied to clipboard
Link copied to clipboard
fun <T> List<T>.withoutSortedDuplicates(out: ArrayList<T> = arrayListOf()): List<T>