static Rect firstRectContaining(L l, int x, int y) { for (Rect r : l) if (r.contains(x, y)) ret r; null; }