Area copy = new Area(a1); copy.intersect(a2); return !copy.isEmpty();
Area a2 = (Area) a.clone();
a2.intersect(b);
return !a2.isEmpty();
if (lhs == null || lhs.isEmpty() || rhs == null || rhs.isEmpty()) { return false; if (!lhs.getBounds().intersects(rhs.getBounds())) { return false; Area newArea = new Area(lhs); newArea.intersect(rhs); ...