}
//move back one, to tail of the input key
if(!cursor.prev())
throw new RuntimeException("Key should exist but failed to jump to it's location");
if(!Arrays.equals(cursor.key(),key.getBytes()))
throw new TException("key mismatch "+key+" vs "+cursor.key2());