Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4286619

Poor doc for java.awt.Rectangle.intersection(Rectangle)

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      sparc
    • OS:
      solaris_2.5

      Description



      Name: dsC58869 Date: 11/01/99



      The Java Doc for method
      public Rectangle java.awt.Rectangle.intersection(Rectangle r)
      says:
      ----------
      Computes the intersection of this Rectangle with the specified Rectangle. Returns a new Rectangle that
          represents the intersection of the two rectangles.
          Parameters:
              r - the specified Rectangle
          Returns:
              the largest Rectangle contained in both the specified Rectangle and in thisRectangle.
      ----------
      and says nothing about result for non-intersection rectangles.
      It is unclear what "largest Rectangle contained in both" mean in this case.

      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sharonz Sharon Zakhour (Inactive)
                Reporter:
                sdasunw Sda Sda (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: