h2/src/main/org/h2/mvstore/db/TransactionStore.java
/**
         * Get the smallest key that is larger than the given key, or null if no
         * such key exists.
         *
         * @param key the key (may not be null)
         * @return the result
         */
Get the smallest key that is larger than the given key, or null if no
such key exists.

@param key the key (may not be null)
@return the result
Get the smallest key that is larger than the given key or null if no such key exists . @param key the key ( may not be null ) @return the result
public K higherKey(K key) {
            while (true) {
                K k = map.higherKey(key);
                if (k == null || get(k) != null) {
                    return k;
                }
                key = k;
            }
        }
public K higherKey ( K key ) { while ( true ) { K k = map . higherKey ( key ) ; if ( k == null || get ( k ) != null ) { return k ; } key = k ; } }
Get the smallest key that is larger than the given key, or null if no
 such key exists.
Get the smallest key that is larger than the given key or null if no such key exists .