SymbolIndexer

An environment to easy transform indexed variables to symbols and back. TODO requires multi-receivers to be beautiful

Inheritors

Functions

Link copied to clipboard
open operator fun <T> Array<T>.get(symbol: Symbol): T
open operator fun DoubleArray.get(symbol: Symbol): Double
open operator fun <T> List<T>.get(symbol: Symbol): T
open operator fun <T> Point<T>.get(symbol: Symbol): T
open operator fun <T> Structure2D<T>.get(rowSymbol: Symbol, columnSymbol: Symbol): T
Link copied to clipboard
open fun indexOf(symbol: Symbol): Int
Link copied to clipboard
Link copied to clipboard
open fun <T> Map<Symbol, T>.toList(): List<T>
Link copied to clipboard
open fun <T> Point<T>.toMap(): Map<Symbol, T>
Link copied to clipboard
open fun <T> Map<Symbol, T>.toPoint(bufferFactory: BufferFactory<T>): Point<T>

Properties

Link copied to clipboard
abstract val symbols: List<Symbol>