|
Class: BTreeNode (private in BTree
This class is only visible from within
BTree.
Object
|
+--BTree::BTreeNode
|
+--BTree::BTreeLeafNode
|
+--BTree::BTreeNode::BTreeInteriorNode
- Package:
- stx:libbasic2
- Category:
- Collections-Ordered-Trees
- Owner:
- BTree
- Author:
- Avi Bryant
[license:]
Dual licensed under both SqueakL and MIT.
This enables both base Squeak inclusion and 100% reuse.
as yet unclassified
-
keys: anArray
-
queries
-
isAbstract
-
Return if this class is an abstract class.
True is returned here for myself only; false for subclasses.
Abstract subclasses must redefine this again.
accessing
-
children
-
-
depth
-
-
firstKey
-
Return the first key of the receiver.
Raises an error if the receiver contains no elements.
-
parent
-
-
parent: aBTreeNode
-
Modified (format): / 22-01-2024 / 15:30:14 / cg
-
root
-
-
values
-
enumerating
-
allChildrenDo: aBlock
-
-
allLeavesDo: aBlock
-
-
childrenDo: aBlock
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
keysAndValuesDo: aBlock
-
-
keysDo: aBlock
-
-
leavesFrom: start to: end do: aBlock
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
valuesDo: aBlock
-
-
withAllChildrenDo: aBlock
-
inserting
-
insertKey: aMagnitude value: anObject
-
otherwise
private
-
ensureParent
-
-
grow
-
we're the new root
-
insertKey: aMagnitude value: anObject at: index
-
-
keys: anArray
-
Modified (format): / 22-01-2024 / 15:30:05 / cg
-
mergeWith: aNode
-
Modified (format): / 22-01-2024 / 15:30:10 / cg
-
shiftLeftTo: index
-
Modified (format): / 18-05-2021 / 16:32:42 / exept MBP
-
shiftRightFrom: index
-
-
split
-
Modified (format): / 22-01-2024 / 15:30:20 / cg
-
stealFrom: aNode
-
removing
-
removeKey: aMagnitude
-
testing
-
canGrow
-
-
canShrink
-
-
isLeaf
-
** This method must be redefined in concrete classes (subclassResponsibility) **
BTreeInteriorNode
|