com.mhhe.clrs2e
Class BTree.BTreeHandle

java.lang.Object
  |
  +--com.mhhe.clrs2e.BTree.BTreeHandle
Enclosing class:
BTree

private static class BTree.BTreeHandle
extends java.lang.Object

Class to define a handle returned by searches. This class is opaque, in that outside of the BTree class, BTreeHandle objects cannot be examined.


Field Summary
(package private)  int i
          Index of the key in the node.
(package private)  com.mhhe.clrs2e.BTree.Node node
          A node in the B-tree.
 
Constructor Summary
BTree.BTreeHandle(com.mhhe.clrs2e.BTree.Node node, int i)
          Saves the node and index in the instance variables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

node

com.mhhe.clrs2e.BTree.Node node
A node in the B-tree.


i

int i
Index of the key in the node.

Constructor Detail

BTree.BTreeHandle

public BTree.BTreeHandle(com.mhhe.clrs2e.BTree.Node node,
                         int i)
Saves the node and index in the instance variables.

Parameters:
node - The node.
i - The index of the key in the node.