ImmutableList

data class ImmutableList<Item>(val first: Item, val rest: ImmutableList<Item>?)

A trivial immutable linked list of AvailTasks.

Constructors

Link copied to clipboard
fun <Item> ImmutableList(first: Item, rest: ImmutableList<Item>?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val first: Item
Link copied to clipboard
val rest: ImmutableList<Item>?

Extensions

Link copied to clipboard
val <Item> ImmutableList<Item>?.length: Int

The length field can be applied to null as well (=0).