public boolean intersects (Rectangle r)

Determines whether or not this Rectangle and the specified Rectangle intersect. Two rectangles intersect if their intersection is nonempty.

Parameters:
r    the specified Rectangle

Returns:  true if the specified Rectangle and this Rectangle intersect; false otherwise.