Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

want info

Thread view: 
chandu - 07 Jan 2006 13:02 GMT
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



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.