private void afterRemoveProcessing() { if (root instanceof InnerNode && root.getLength() == 0) { InnerNode<K, V> inner = (InnerNode<K, V>) root; this.root = inner.getFirstChild(); } this.size--; }
private boolean hasTreeEntries() { if (root instanceof LeafNode && root.getLength() == 0) { return false; } return true; }