Point3d p1 = new Point3d();
p1.x = 50;
p1.y = 70;
p1.z = -387.878;

They're not immutable... so why not have getters and setters?

-----Original Message-----
From: Gunnar Sletta [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 10:20 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] why aren't javax.vecmath.* classes Java beans?


Probably because of safty. They have to be immutable to garantee safe
execution. The same as strings.



On Fri, 15 Feb 2002, Michael Newcomb wrote:

> Why don't they have getters and setters?
>
> Michael
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to