Documentation / dataflow / com.femastudios.dataflow.util / SimpleList
Go to reference

SimpleList

interface SimpleList<T> : Iterable<T>

A simple interface that extends Iterable that can be used when the called is only interested in basic methods. This is for example usable on com.femastudios.dataflow.impl.BaseDependentField.dependencies.

For most methods this class will throw UnsupportedOperationException

Properties

size

The size of this list

abstract val size: Int

Functions

get

Returns the element at the given index

abstract operator fun get(index: Int): T

iterator

open fun iterator(): Iterator<T>

Inheritors

BaseFieldTransformer

The basic implementation of Field.transform.

abstract class BaseFieldTransformer<I, O> : BulkProcessedBaseDependentField<I, O>, SimpleList<Field<I>>

BaseFieldWrapper

A basic implementation that wraps another field.

open class BaseFieldWrapper<T> : BaseDependentField<Any?, T>, FieldWrapper<T>, SimpleList<Field<Any?>?>