Iterator it = iterator(); while (it.hasNext()) { ((OMGraphic)it.next()).setTextureMask(texture);
synchronized (graphics) { Iterator it = iterator(); while (it.hasNext()) { ((OMGraphic)it.next()).setTextureMask(texture); }
    public void setTextureMask(TexturePaint texture) {	super.setTextureMask(texture);	Iterator it = iterator();	while (it.hasNext()) {	    ((OMGraphic)it.next()).setTextureMask(texture);	}    }