*/
public boolean hasNext() {
try {
return i.hasNext();
} catch (IOException e) {
throw new RuntimeIOException(e);
}
}
/* (non-Javadoc)
* @see java.util.Iterator#next()
*/
public ByteBuffer next() {
try {
return i.next();
} catch (IOException e) {
throw new RuntimeIOException(e);
}
}
/* (non-Javadoc)
* @see java.util.Iterator#remove()
*/
public void remove() {
try {
i.remove();
} catch (IOException e) {
throw new RuntimeIOException(e);
}
}
};
}