🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #268

Hashtable keys

#268
From: Jason Purcell
Date: Tue, 23 Mar 2004 12:43
12 lines
1121 bytes
I have a Hashtable where the keys are Connection objects, 
and the values are Boolean objects.

My question is: Will the Connection objects ever be 
garbage-collected while the Hashtable is still valid 
and being used?

By extension, are keys in a Hashtable ever automatically 
removed?

Jason.
Technical Details
Message-ID: <406030e5$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.mel.connect.com.au!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,54684b980608b0f4,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2004-03-23 05:09:04 PST
From: "Jason Purcell" <purcelj@telkom.co.za>
Sender: "Jason Purcell" <purcelj@telkom.co.za>
Reply-To: "Jason Purcell" <purcelj@telkom.co.za>
Subject: Hashtable keys
Newsgroups: borland.public.jbuilder.java.api
X-User-Info: 198.54.206.91     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <406030e5$2@newsgroups.borland.com>
Date: 23 Mar 2004 04:43:17 -0800
X-Trace: newsgroups.borland.com 1080045797 207.105.83.66 (23 Mar 2004 04:43:17 -0800)
Lines: 12
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.mel.connect.com.au!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail