/** * Gets a new iterator based on the bounds of the image with the * specified key value. * * @param bounds iterator bounds * @return the new iterator * * @throws IllegalArgumentException if this image set is empty or if no * image corresponds to the key value */ public Iterator<K> getIterator(Rectangle bounds) { return new Iterator<K>(this, bounds); }