Article View: aus.computers.java
Article #441Re: How to cleanup when a class is destroyed ?
From: Ross Vumbaca
Date: Sat, 14 Oct 2000 00:00
Date: Sat, 14 Oct 2000 00:00
29 lines
1461 bytes
1461 bytes
Hi,
DavidL wrote:
> But what if I have a class something like:
<Snip>
People keep confusing your request with garbage collection, which Java
does. There is a "finalize" method for Java objects, which is run when
an object is trashed. Can't help much else though ;). The other post
with the javadocs link will help you.
Regards,
Ross..
--
*TO E-MAIL ME: Reverse the order of the domain name in my e-mail
address.*
Ross Vumbaca, a 'poor' Uni student at USyd.edu.au
http://www.fl.net.au/~rossv
Running on an Amiga 3000 (030/25), ECS, 8Mb Fast, 2Mb Chip, HD FDD
SCSI HDD's (never mind their size), Kickstart 3.1 (40.68), OS 3.5,
Linux 2.0 (RedHat 5.1), C= A2065 and an Opalvision card
- ("Designed in Australia", and keeping the Zorro bus populated).
--
Technical Details
Message-ID:
<39E708EC.4C33B23D@au.net.fl>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39e57bc3$1@server.local> <%rnF5.41125$td5.6548300@news1.rdc2.pa.home.com> <39e62821$1@server.local>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d6db,d25b87a070be9251 X-Google-Attributes: gid10d6db,public From: Ross Vumbaca <rossv@au.net.fl> Subject: Re: How to cleanup when a class is destroyed ? Date: 2000/10/14 Message-ID: <39E708EC.4C33B23D@au.net.fl> X-Deja-AN: 680988898 Content-Transfer-Encoding: 7bit References: <39e57bc3$1@server.local> <%rnF5.41125$td5.6548300@news1.rdc2.pa.home.com> <39e62821$1@server.local> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 14 Oct 2000 00:06:59 +1100, a5-p55.syd.fl.net.au Organization: First Link, Sydney, Australia MIME-Version: 1.0 Newsgroups: aus.computers.java