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

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

    XMLWordPrintable

Details

    • beta
    • sparc
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: