kvision / pl.treksoft.kvision.utils / LinkedList

LinkedList

class LinkedList<T>

Constructors

<init>

LinkedList()

Properties

isEmpty

var isEmpty: Boolean

Functions

append

fun append(value: T): Unit

count

fun count(): Int

first

fun first(): Node<T>?

last

fun last(): Node<T>?

nodeAtIndex

fun nodeAtIndex(index: Int): Node<T>?

removeAll

fun removeAll(): Unit

removeAtIndex

fun removeAtIndex(index: Int): T?

removeLast

fun removeLast(): T?

removeNode

fun removeNode(node: Node<T>): T

toString

fun toString(): String

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.