for (int i = right_floats.size() - 1; i >= 0; i--) { Box floater = (Box) right_floats.get(i);
for (int i = persistentBFC.right_floats.size() - 1; i >= 0; i--) { Box floater = (Box) persistentBFC.right_floats.get(i);
    public Box getRightFloatX(Box box) {        //Uu.p("get right float x : " + box);        // count backwards through the floats        int x = 0;        for (int i = right_floats.size() - 1; i >= 0; i--) {            Box floater = (Box) right_floats.get(i);            // Uu.p("box = " + box);            // Uu.p("testing against float = " + floater);            x = floater.x;            if (floater.y + floater.height > box.y) {                // Uu.p("float["+i+"] blocks the box vertically");                return floater;            } else {                // Uu.p("float["+i+"] doesn't block. moving to next");            }        }        return null;    }