eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'AVLTree::AVLTreeNode':

Home

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

Class: AVLTreeNode (private in AVLTree

This class is only visible from within AVLTree.

Inheritance:

   Object
   |
   +--AVLTree::AVLTreeNode

Package:
stx:libbasic2
Category:
Collections-Ordered-Trees
Owner:
AVLTree

Class protocol:

instance creation
o  new
(comment from inherited method)
return an instance of myself without indexed variables

o  withValue: anObject


Instance protocol:

accessing
o  height

o  left

o  left: aTreeNode

o  right

o  right: aTreeNode

o  value

o  value: anObject

adding & removing
o  avlTreeNodeRemove: aNode orderedBy: binaryBlock

enumeration
o  avlTreeNodeDo: unaryBlock

o  avlTreeNodeReverseDo: unaryBlock

initialization
o  initialize

misc
o  avlTreeNodeFind: aNode orderedBy: binaryBlock

o  avlTreeNodeMoveRight: aNode

printing & storing
o  printOn: aStream
(comment from inherited method)
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.

The default here is to output the receiver's class name.
BUT: this method is heavily redefined for objects which
can print prettier.

private
o  balance

o  rotateLeft

o  rotateRight

queries
o  avlTreeNodeHeight

o  avlTreeNodeInsert: aNode orderedBy: binaryBlock

o  avlTreeSize

o  delta

o  equals: aNode orderedBy: binaryBlock
Partial order (<=): l = r => (l <= r) and (l >= r) => lr and rl.

o  precedes: aNode orderedBy: binaryBlock



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 15:47:24 GMT