eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'TSTreeNode':

Home

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

Class: TSTreeNode


Inheritance:

   Object
   |
   +--TSTreeNode
      |
      +--TSMultiTreeNode

Package:
stx:libbasic2
Category:
Collections-Ordered-Trees-Private
Version:
rev: 1.7 date: 2023/12/12 21:44:02
user: cg
file: TSTreeNode.st directory: libbasic2
module: stx stc-classLibrary: libbasic2
Author:
Avi Bryant

Description:


[license:]
    Dual licensed under both SqueakL and MIT. 
    This enables both base Squeak inclusion and 100% reuse.


Class protocol:

as yet unclassified
o  key: aCharacter


Instance protocol:

private
o  canBeCulled

o  cullNode: aNode

o  do: aBlock

o  initializeWithKey: aCharacter

o  lookupString: aString startingAt: i
inlined for performance

Usage example(s):

        self
                lookupString: aString
                startingAt: i
                whenFound: [^ value]
                whenNil: [:c | ^ nil]
                recurseWith: [:node :j | ^ node lookupString: aString startingAt: j]

o  lookupString: aString startingAt: i insert: anObject

o  lookupString: aString startingAt: i whenFound: foundBlock whenNil: nilBlock recurseWith: recurseBlock

o  matchesForPrefix: aString startingAt: i do: aBlock

o  matchesForString: aString startingAt: i distance: d do: aBlock nodesDo: nodeBlock

o  newNodeWithKey: aCharacter

o  nodesDo: aBlock

o  removeString: aString startingAt: i

o  value

o  value: anObject



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:26:51 GMT