ListReader

class ListReader<T>(val list: List<T>)

A utility to read List.

Constructors

Link copied to clipboard
constructor(list: List<T>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val list: List<T>
Link copied to clipboard
Link copied to clipboard
val size: Int

Functions

Link copied to clipboard
fun <T> ListReader<T>.dump()
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun <T> ListReader<T>.expect(value: T): T
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun peek(): T
fun peek(offset: Int): T
Link copied to clipboard
fun peekOrNull(): T?
Link copied to clipboard
fun read(): T
Link copied to clipboard
fun skip(count: Int = 1): ListReader<T>
Link copied to clipboard
open override fun toString(): String