Package Struct

Class BSTNode<T extends Comparable<T>>

java.lang.Object
Struct.BSTNode<T>
Type Parameters:
T - The type of values stored in the BST. Must implement Comparable<T>.

public class BSTNode<T extends Comparable<T>> extends Object
Represents a node in a binary search tree (BST) for elements of a comparable type. This class provides basic BST operations including insertion and traversal.
Since:
1.0
Version:
1.0
Author:
Sahasrad Chippa