Node

data class Node<T>(var value: T, var next: Node<T>? = null)

Constructors

Link copied to clipboard
constructor(value: T, next: Node<T>? = null)

Properties

Link copied to clipboard
var next: Node<T>?
Link copied to clipboard
var value: T

Functions

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String