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.2 date: 2015/12/29 23:18:31
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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 16 Apr 2021 10:18:37 GMT