Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

zeromemory or memset in Java?

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
4 replies to this topic

#1 Eskhan   Members   

122
Like
Likes
Like

Posted 30 June 2003 - 07:27 AM

Is there any way in Java to zero out a class in the same manner that you can zero out a struct or class in C++?

#2 Arild Fines   Members   

968
Like
Likes
Like

Posted 30 June 2003 - 07:33 AM

No. Why would you want to?



AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.

#3 Captain Goatse   Banned   

100
Like
Likes
Like

Posted 30 June 2003 - 07:35 AM

As Arild said, no.

#4 Raloth   Members   

379
Like
Likes
Like

Posted 30 June 2003 - 07:36 AM

All variables are set to 0 by default.

#5 Eskhan   Members   

122
Like
Likes
Like

Posted 30 June 2003 - 11:26 AM

Oh, I''m just wondering. It would certainly be useful in a certain class in my project where there are buffers that should be zeroed out after use, just wondered if there was a way to do it that would save me from typing so much




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.