Patch: RoundRectangle2D
Bryce McKinlay
bryce@albatross.co.nz
Sun Dec 3 18:20:00 GMT 2000
Bryce McKinlay wrote:
> > Thia makes sense to me. Thanks. I agree that we should just use the
> > fields directly. In some cases, though, this will mean moving methods
> > into subclasses (eg Rectangle2D doesn't have any fields -- they are
> > always in subclasses).
>
> Oh, you're right, I forgot that Rectangle2D is abstract. I really meant
> for classes like Rectangle2D.Double where we currently have:
>
> public void setRect (Rectangle2D r)
> {
> this.x = r.getX ();
> this.y = r.getY ();
Double duh. You know what I really really mean ;-)
regards
[ bryce ]
More information about the Java-patches
mailing list