StackHistory

class StackHistory<ItemType, Key : Any>(keyFor: (ItemType) -> Key)

Constructors

Link copied to clipboard
constructor(keyFor: (ItemType) -> Key)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun push(newStack: List<ItemType>)

Retains newStack by reference. Callers are expected not mutate it after pushing.