Package algs62
Class XBTreeWithCasts<K extends Comparable<? super K>,V>
java.lang.Object
algs62.XBTreeWithCasts<K,V>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate static final intprivate intprivate XBTreeWithCasts.Node -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleaneq(Comparable k1, Comparable k2) intheight()private XBTreeWithCasts.Nodeinsert(XBTreeWithCasts.Node h, K key, V value, int ht) private booleanless(Comparable k1, Comparable k2) static voidvoidprivate Vsearch(XBTreeWithCasts.Node x, K key, int ht) intsize()private XBTreeWithCasts.NodetoString()private StringtoString(XBTreeWithCasts.Node h, int ht, String indent)
-
Field Details
-
M
- See Also:
-
root
-
HT
-
N
-
-
Constructor Details
-
XBTreeWithCasts
public XBTreeWithCasts()
-
-
Method Details