h2/src/main/org/h2/mvstore/rtree/MVRTreeMap.java
/**
     * Add all node keys (including internal bounds) to the given list.
     * This is mainly used to visualize the internal splits.
     *
     * @param list the list
     * @param p the root page
     */
Add all node keys (including internal bounds) to the given list.
This is mainly used to visualize the internal splits.

@param list the list
@param p the root page
Add all node keys ( including internal bounds ) to the given list . This is mainly used to visualize the internal splits . @param list the list @param p the root page
public void addNodeKeys(ArrayList<SpatialKey> list, Page p) {
        if (p != null && !p.isLeaf()) {
            for (int i = 0; i < p.getKeyCount(); i++) {
                list.add((SpatialKey) p.getKey(i));
                addNodeKeys(list, p.getChildPage(i));
            }
        }
    }
public void addNodeKeys ( ArrayList < SpatialKey > list , Page p ) { if ( p != null && ! p . isLeaf ( ) ) { for ( int i = 0 ; i < p . getKeyCount ( ) ; i ++ ) { list . add ( ( SpatialKey ) p . getKey ( i ) ) ; addNodeKeys ( list , p . getChildPage ( i ) ) ; } } }
Add all node keys (including internal bounds) to the given list.
Add all node keys ( including internal bounds ) to the given list .