if (floats != null) { for (Iterator i = floats.iterator(); i.hasNext(); ) {
if (moveWithLayerFloats != null) { for (Iterator i = moveWithLayerFloats.keySet().iterator(); i.hasNext(); ) {
    private void moveFloats(Dimension distance) {        if (floats != null) {            for (Iterator i = floats.iterator(); i.hasNext(); ) {                FloatedBlockBox floater = (FloatedBlockBox)i.next();                floater.x += distance.width;                floater.y += distance.height;            }        }    }