Package org.openrndr.collections

Types

Link copied to clipboard
class CachedProperty<out T>(val loader: () -> T) : ReadOnlyProperty<Any, T>

Functions

Link copied to clipboard
expect fun <T, R> Iterable<T>.pflatMap(transform: (T) -> Iterable<R>): List<R>
actual fun <T, R> Iterable<T>.pflatMap(transform: (T) -> Iterable<R>): List<R>
actual fun <T, R> Iterable<T>.pflatMap(transform: (T) -> Iterable<R>): List<R>
Link copied to clipboard
expect fun <T : Any> Iterable<T>.pforEach(transform: (T) -> Unit)
actual fun <T : Any> Iterable<T>.pforEach(transform: (T) -> Unit)
actual fun <T : Any> Iterable<T>.pforEach(transform: (T) -> Unit)
Link copied to clipboard
expect fun <T, R> Iterable<T>.pmap(transform: (T) -> R): List<R>
actual fun <T, R> Iterable<T>.pmap(transform: (T) -> R): List<R>
actual fun <T, R> Iterable<T>.pmap(transform: (T) -> R): List<R>
Link copied to clipboard
expect fun <T, R : Any> Iterable<T>.pmapNotNull(transform: (T) -> R?): List<R>
actual fun <T, R : Any> Iterable<T>.pmapNotNull(transform: (T) -> R?): List<R>
actual fun <T, R : Any> Iterable<T>.pmapNotNull(transform: (T) -> R?): List<R>
Link copied to clipboard
fun <E> ArrayDeque<E>.pop(): E
Link copied to clipboard
fun <E> ArrayDeque<E>.push(item: E): E