int findDelete ( int lower , int upper , Object delKey ) { int nkeys = numKeys ( lower , upper ) ; int idx = - 1 ; if ( nkeys < 4 ) idx = sequentialFindDelete ( lower , upper , delKey ) ; else idx = binaryFindDelete ( lower , upper , delKey ) ; return idx ; }
Find the index of the key to delete .