Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/collections/rb_node.ts>RBNode

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class RBNode
extends BSNode<T>
import { RBNode } from "https://deno.land/std@0.132.0/collections/rb_node.ts";

Constructors

new
RBNode(parent: RBNode<T> | null, value: T)

Properties

left: RBNode<T> | null
parent: RBNode<T> | null
red: boolean
right: RBNode<T> | null

Static Methods

from<T>(node: RBNode<T>): RBNode<T>