code: public boolean contains(int left, int top, int right, int bottom) {
          // check for empty first
          return this.left < this.right && this.top < this.bottom
                  // now check for containment
                  && this.left <= left && this.top <= top
                  && this.right >= right && this.bottom >= bottom;
      }
docs: Returns true iff the 4 specified sides of a rectangle are inside or equal
  to this rectangle. i.e. is this rectangle a superset of the specified
  rectangle. An empty rectangle never contains another rectangle.
  
  @param left   The left side of the rectangle being tested for containment
  @param top    The top of the rectangle being tested for containment
  @param right  The right side of the rectangle being tested for containment
  @param bottom The bottom of the rectangle being tested for containment
  
  @return true iff the the 4 specified sides of a rectangle are inside or
  equal to this rectangle