private int getFloatDistance(Box line, List floatsList) { int xoff = 0;  if (floatsList.size() == 0) { return 0; }  for (int i = 0; i < floatsList.size(); i++) { Box floater = (Box) floatsList.get(i); Point fpt = (Point) offset_map.get(floater); Point lpt = new Point(this.x, this.y); lpt.y -= line.y; if (lpt.y > fpt.y - floater.height) { xoff = Math.max(xoff, floater.width); } } return xoff; }
private int getFloatDistance(Box line, List float_list) { return this._float_manager.getFloatDistance(line,float_list, this); }
    private int getFloatDistance(Box line, List floatsList) {        int xoff = 0;        if (floatsList.size() == 0) {            return 0;        }        for (int i = 0; i < floatsList.size(); i++) {            Box floater = (Box) floatsList.get(i);            Point fpt = (Point) offset_map.get(floater);            Point lpt = new Point(this.x, this.y);            lpt.y -= line.y;            if (lpt.y > fpt.y - floater.height) {                xoff = Math.max(xoff, floater.width);            }        }        return xoff;    }