History

fun <T> History(maxSize: Int, initialValue: List<T>)

Parameters

maxSize

history keeps at most this many last values

initialValue

initial content of the history