hai
is there any inbuilt class to know size of an object..something like
sizeof function in c.
regards
chandu
Andrew Thompson - 07 Jan 2006 13:48 GMT
> Sub: want info
I think you'll find most people who post here 'want info'.
You might try being more specific in the subject.
> hai
..ugghh. Is that supposed to be 'kewl'?
> is there any inbuilt class to know size of an object..something like
> sizeof function in c.
No. Why do you think you need it?

Signature
Andrew Thompson
physci, javasaver, 1point1c, lensescapes - athompson.info/andrew
Jeroen Wenting - 07 Jan 2006 13:50 GMT
no, and there's no need to have that information.
> hai
> is there any inbuilt class to know size of an object..something like
> sizeof function in c.
>
> regards
> chandu
Chris Smith - 07 Jan 2006 18:07 GMT
> hai
> is there any inbuilt class to know size of an object..something like
> sizeof function in c.
Okay, since several people have asked this recently:
http://riters.com/JINX/index.cgi/Size_20of_20an_20Object

Signature
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
Chris Uppal - 08 Jan 2006 12:10 GMT
> http://riters.com/JINX/index.cgi/Size_20of_20an_20Object
Small nitpick. The JLS and JNI spec are carefully worded to permit
implementations which represent arrays of boolean with one bit per bool. (I
don't know if any implementations actually take advantage of that.)
-- chris
Chris Smith - 08 Jan 2006 22:16 GMT
> > http://riters.com/JINX/index.cgi/Size_20of_20an_20Object
>
> Small nitpick. The JLS and JNI spec are carefully worded to permit
> implementations which represent arrays of boolean with one bit per bool. (I
> don't know if any implementations actually take advantage of that.)
Okay, thanks. That's why it's a wiki. Feel free to correct stuff like
this. (I'll go change the page now to indicate this fact.)

Signature
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation