132133134135136137138139140141142
if (iter.hasTop()) { Key nextKey = iter.getTopKey(); Value nextVal = iter.getTopValue(); try { key = (Key) nextKey.clone(); } catch (CloneNotSupportedException e) { throw new IOException(e); } val = nextVal; } else {
127128129130131132133134135136137
124125126127128129130131132133134
if (iter.hasTop()) { Key nextKey = iter.getTopKey(); Value nextVal = iter.getTopValue(); key = (Key) nextKey.clone(); val = nextVal; } else { key = null; val = null; }