@Test public void testPointOutside() { DrawableBitSet bitset = new DrawableBitSet(WIDTH, HEIGHT); boolean success = true; try { bitset.set(60, 60); } catch (ArrayIndexOutOfBoundsException aie) { success = false; } assertFalse(success); }
public void set(int x, int y) { pixel[0] = 1; raster.setPixel(x, y, pixel); }
DrawableBitSet { public void set(int x, int y) { pixel[0] = 1; raster.setPixel(x, y, pixel); } }
DrawableBitSet { public void set(int x, int y) { pixel[0] = 1; raster.setPixel(x, y, pixel); } DrawableBitSet(int width, int height); }
DrawableBitSet { public void set(int x, int y) { pixel[0] = 1; raster.setPixel(x, y, pixel); } DrawableBitSet(int width, int height); boolean get(int x, int y); void set(int x, int y); void set(Geometry geom); void set(Shape shape); BufferedImage getImage(); }
DrawableBitSet { public void set(int x, int y) { pixel[0] = 1; raster.setPixel(x, y, pixel); } DrawableBitSet(int width, int height); boolean get(int x, int y); void set(int x, int y); void set(Geometry geom); void set(Shape shape); BufferedImage getImage();  }