addInput abstract method

Node<T>? addInput(
  1. T nodeValue
)

Adds an unique input node with nodeValue. Returns the added Node if not add yet.

Implementation

Node<T>? addInput(T nodeValue);