public class NBPlusTreeStoreFixedDiskLeafNode<K extends Comparable<K>,V> extends NBPlusTreeStoreFixedDiskNode<K,V> implements NBPlusTree.LeafNode<K,V>
| Modifier and Type | Field and Description |
|---|---|
protected Map.Entry<K,V>[] |
dictionary |
protected long |
leftSiblingId |
protected long |
rightSiblingId |
| Constructor and Description |
|---|
NBPlusTreeStoreFixedDiskLeafNode(NBPlusTreeStoreFixedDisk<K,V> store,
int m) |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(DataInputStream dis) |
Map.Entry<K,V> |
entryAt(int index) |
K |
firstKey() |
boolean |
isLeaf() |
K |
keyAt(int index) |
List<K> |
keys() |
NBPlusTree.LeafNode<K,V> |
leftSibling() |
NBPlusTree.LeafNode<K,V> |
rightSibling() |
void |
serialize(DataOutputStream dos) |
V |
setValueAt(int index,
V value) |
V |
valueAt(int index) |
maxSize, minSize, parent, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmaxSize, minSize, parent, sizeprotected long leftSiblingId
protected long rightSiblingId
protected Map.Entry<K extends Comparable<K>,V>[] dictionary
public NBPlusTreeStoreFixedDiskLeafNode(NBPlusTreeStoreFixedDisk<K,V> store, int m)
public boolean isLeaf()
isLeaf in interface NBPlusTree.Node<K extends Comparable<K>,V>public K firstKey()
firstKey in interface NBPlusTree.Node<K extends Comparable<K>,V>public List<K> keys()
keys in interface NBPlusTree.LeafNode<K extends Comparable<K>,V>public V valueAt(int index)
valueAt in interface NBPlusTree.LeafNode<K extends Comparable<K>,V>public K keyAt(int index)
keyAt in interface NBPlusTree.LeafNode<K extends Comparable<K>,V>public Map.Entry<K,V> entryAt(int index)
entryAt in interface NBPlusTree.LeafNode<K extends Comparable<K>,V>public NBPlusTree.LeafNode<K,V> leftSibling()
leftSibling in interface NBPlusTree.LeafNode<K extends Comparable<K>,V>public NBPlusTree.LeafNode<K,V> rightSibling()
rightSibling in interface NBPlusTree.LeafNode<K extends Comparable<K>,V>public void serialize(DataOutputStream dos) throws IOException
serialize in class NBPlusTreeStoreFixedDiskNode<K extends Comparable<K>,V>IOExceptionpublic void deserialize(DataInputStream dis) throws IOException
deserialize in class NBPlusTreeStoreFixedDiskNode<K extends Comparable<K>,V>IOExceptionCopyright © 2026 vpc open source initiative. All rights reserved.