h2/src/main/org/h2/mvstore/db/TransactionStore.java
/**
         * Get the last key.
         *
         * @return the last key, or null if empty
         */
Get the last key.
@return the last key, or null if empty
Get the last key . @return the last key or null if empty
public K lastKey() {
            K k = map.lastKey();
            while (true) {
                if (k == null) {
                    return null;
                }
                if (get(k) != null) {
                    return k;
                }
                k = map.lowerKey(k);
            }
        }
public K lastKey ( ) { K k = map . lastKey ( ) ; while ( true ) { if ( k == null ) { return null ; } if ( get ( k ) != null ) { return k ; } k = map . lowerKey ( k ) ; } }
Get the last key.
Get the last key .