/** Source code example for "A Practical Introduction to Data Structures and Algorithm Analysis, 3rd Edition (Java)" by Clifford A. Shaffer Copyright 2008-2011 by Clifford A. Shaffer */ class BPInternal implements BPNode { // Leaf node private int numrecords; private Key theKeys[]; private BPNode thePointers[]; public boolean isLeaf() { return true; } public int numrecs() { return numrecords; } public Key[] keys() { return theKeys; } public BPInternal add(BPInternal ptr) { return null; } public boolean underflow(int which) { return false; } public BPNode pointers(int which) { return thePointers[which]; } };