@Test public void getIterSample() { ImageSet.Iterator<String> iterator = theSet.getIterator(); int x = 0; int y = 0; do { Map<String, Number> sample = iterator.getSample(); assertSample(sample, x, y, 0); x = (x + 1) % WIDTH; if (x == 0) { y++ ; } } while (iterator.next()); }
public Iterator<K> getIterator() { return getIterator(elements.keySet().iterator().next()); }
ImageSet { public Iterator<K> getIterator() { return getIterator(elements.keySet().iterator().next()); } }
ImageSet { public Iterator<K> getIterator() { return getIterator(elements.keySet().iterator().next()); } ImageSet(); }
ImageSet { public Iterator<K> getIterator() { return getIterator(elements.keySet().iterator().next()); } ImageSet(); static ImageSet<K> copy(ImageSet<K> set); void add(K key, RenderedImage image, Number outsideValue); int size(); boolean isEmpty(); boolean containsKey(K key); boolean containsImage(RenderedImage image); RenderedImage get(K key); RenderedImage remove(K key); void putAll(ImageSet<? extends K> otherSet); void clear(); Set<K> keySet(); Set<RenderedImage> values(); Iterator<K> getIterator(); Iterator<K> getIterator(K referenceImageKey); Iterator<K> getIterator(Rectangle bounds); Rectangle getBounds(K key); Rectangle getUnionBounds(); Rectangle getIntersectionBounds(); Number getOutsideValue(K key); }
ImageSet { public Iterator<K> getIterator() { return getIterator(elements.keySet().iterator().next()); } ImageSet(); static ImageSet<K> copy(ImageSet<K> set); void add(K key, RenderedImage image, Number outsideValue); int size(); boolean isEmpty(); boolean containsKey(K key); boolean containsImage(RenderedImage image); RenderedImage get(K key); RenderedImage remove(K key); void putAll(ImageSet<? extends K> otherSet); void clear(); Set<K> keySet(); Set<RenderedImage> values(); Iterator<K> getIterator(); Iterator<K> getIterator(K referenceImageKey); Iterator<K> getIterator(Rectangle bounds); Rectangle getBounds(K key); Rectangle getUnionBounds(); Rectangle getIntersectionBounds(); Number getOutsideValue(K key);  }