public boolean isConsistent ( ) { for ( int i = 1 ; i < filledUpTo ; i ++ ) { int comp1 = KeyUtils . compareKey ( maxKeyPerChunk [ i ] , maxKeyPerChunk [ i - 1 ] ) ; if ( comp1 <= 0 ) { return false ; } } return true ; }
Checks if this index is consistent . All inserted keys have to be inserted incrementally .