eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'AATreeNode':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: AATreeNode


Inheritance:

   Object
   |
   +--BinaryTreeNode
      |
      +--AATreeNode

Package:
stx:libbasic2
Category:
Collections-Ordered-Trees
Version:
rev: 1.10 date: 2024/04/18 14:21:11
user: cg
file: AATreeNode.st directory: libbasic2
module: stx stc-classLibrary: libbasic2

Description:


I represent nodes in an AA tree, which is a form of balanced tree used for storing and retrieving ordered data efficiently.
AA trees are named for Arne Andersson, their inventor.
See details in AATree

copyright

COPYRIGHT (c) 2009 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

instance creation
o  data: dataArg level: levelArg


Instance protocol:

accessing
o  data: dataArg level: levelIntegerArg

o  level

o  level: anInteger

helpers
o  decrease_level
function decrease_level is

o  insert: anObject usingSortBlock: sortBlock
function insert is

o  removeValue: oldValue using: equalSelector sortBlock: sortBlock
remove a value - returns a new treeNode, or nil if the value is not in the tree

o  skew
function skew is

o  split
function split is



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:44:40 GMT