[2790] in java-interest
Request for a small change in Object Wrapper Classes, like Float
daemon@ATHENA.MIT.EDU (Andruid Kerne)
Fri Oct 13 17:29:04 1995
Date: Fri, 13 Oct 95 15:19:59 EDT
From: andruid@SLINKY.CS.NYU.EDU (Andruid Kerne)
To: java-interest@java.sun.com
I was glad when i saw that Java has the capability to treat simple
data as first class objects. However, upon close inspection, i am
very surprised to learn that such objects, are ... well, they're sort
of 2nd class, actually. This is to say, that i can create such an
object, and i can then access its value, and get that value converted
in various ways, and send it messages, caused its subclassed on
Object. What i can't do is change the value of this slot! To
implement a set(float newValue) method is, of course, for the creator
of the Float class (and its sisters), trivial. This
would make it much easier for us to do meta-manipulations on data
slots! Is there some reason why this would be a bad idea?
Andruid Kerne
NYU Media Research Laboratory
--and also--
Creative Media Cauldron
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com