IndexList

interface IndexList<out T> : Iterable<T>

Represents iterable read-only list with size and access by index.

Author

Alexander Kornilov (akornilov.82@gmail.com).

Functions

forEach
Link copied to clipboard
open fun forEach(p0: Consumer<in T>)
get
Link copied to clipboard
abstract operator fun get(index: Int): T
Returns list item by index.
iterator
Link copied to clipboard
abstract operator fun iterator(): Iterator<T>
spliterator
Link copied to clipboard
open fun spliterator(): Spliterator<T>

Properties

size
Link copied to clipboard
abstract val size: Int
The size of the list.

Inheritors

Path
Link copied to clipboard