new

fun new(data: <Error class: unknown class>? = null): Node

Creates a new #GNode containing the given data. Used to create the first node in a tree.

Return

a new #GNode

Parameters

data

the data of the new node