@Test(expected=IllegalArgumentException.class) public void bandOutOfRange() { image = ImageUtils.createConstantImage(WIDTH, HEIGHT, new Integer[]{0, 0, 0}); WindowIterator iter = new WindowIterator(image, null, new Dimension(3, 3), new Point(1, 1)); iter.getWindowInt(null, 3); }
public int[][] getWindowInt(int[][] dest) { return getWindowInt(dest, 0); }
WindowIterator { public int[][] getWindowInt(int[][] dest) { return getWindowInt(dest, 0); } }
WindowIterator { public int[][] getWindowInt(int[][] dest) { return getWindowInt(dest, 0); } WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement);  WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement, Number outsideValue);  WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement,
            int xstep, int ystep, Number outsideValue); }
WindowIterator { public int[][] getWindowInt(int[][] dest) { return getWindowInt(dest, 0); } WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement);  WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement, Number outsideValue);  WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement,
            int xstep, int ystep, Number outsideValue); Point getPos(); boolean hasNext(); boolean next(); Number[][] getWindow(Number[][] dest); Number[][] getWindow(Number[][] dest, int band); int[][] getWindowInt(int[][] dest); int[][] getWindowInt(int[][] dest, int band); float[][] getWindowFloat(float[][] dest); float[][] getWindowFloat(float[][] dest, int band); double[][] getWindowDouble(double[][] dest); double[][] getWindowDouble(double[][] dest, int band); }
WindowIterator { public int[][] getWindowInt(int[][] dest) { return getWindowInt(dest, 0); } WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement);  WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement, Number outsideValue);  WindowIterator(RenderedImage image, Rectangle bounds, 
            Dimension windowDim, Point keyElement,
            int xstep, int ystep, Number outsideValue); Point getPos(); boolean hasNext(); boolean next(); Number[][] getWindow(Number[][] dest); Number[][] getWindow(Number[][] dest, int band); int[][] getWindowInt(int[][] dest); int[][] getWindowInt(int[][] dest, int band); float[][] getWindowFloat(float[][] dest); float[][] getWindowFloat(float[][] dest, int band); double[][] getWindowDouble(double[][] dest); double[][] getWindowDouble(double[][] dest, int band);  }