Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val height: Int
Link copied to clipboard
open val size: Int
Link copied to clipboard
abstract val width: Int

Functions

Link copied to clipboard
fun <T> Iterable<T>.associateByInt(block: (index: Int, value: T) -> Int): IntMap<T>
Link copied to clipboard
open fun asString(): String
open fun asString(margin: String = "", charMap: (E) -> Char): String
open fun asString(map: Map<E, Char>, margin: String = ""): String
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
open operator fun contains(v: E): Boolean
Link copied to clipboard
open fun dump()
Link copied to clipboard
inline fun <E> IArray2<E>.each(callback: (x: Int, y: Int, v: E) -> Unit)
Link copied to clipboard
abstract fun equalsAt(idx: Int, value: E): Boolean
Link copied to clipboard
inline fun <E> IArray2<E>.fill(gen: (old: E) -> E)
Link copied to clipboard
abstract fun getAt(idx: Int): E
open fun getAt(x: Int, y: Int): E
Link copied to clipboard
open fun getPositionsWithValue(value: E): List<Pair<Int, Int>>
Link copied to clipboard
fun <E> IArray2<E>.index(x: Int, y: Int): Int
Link copied to clipboard
open fun inside(x: Int, y: Int): Boolean
Link copied to clipboard
abstract operator fun iterator(): Iterator<E>
Link copied to clipboard
inline fun <TGen : Any, RGen : Any> IArray2<TGen>.map2(gen: (x: Int, y: Int, v: TGen) -> RGen): Array2<RGen>
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
abstract fun printAt(idx: Int)
open fun printAt(x: Int, y: Int)
Link copied to clipboard
open fun set(rows: List<List<E>>)
Link copied to clipboard
abstract fun setAt(idx: Int, value: E)
open fun setAt(x: Int, y: Int, value: E)
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun toStringList(charMap: (E) -> Char, margin: String = ""): List<String>