commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@eurobell.co.uk>
Subject Re: [SUBMIT][Collections] ReferenceMap, take 2
Date Sat, 25 May 2002 11:08:14 GMT
From: Jack, Paul <pjack@sfaf.org>


> Now includes a junit test, which revealed several bugs,
> which are now fixed.

Just an idea....is it possible to write ReferenceMap as a wrapper around
another Map? If so, then we could have ReferenceSortedMap, ReferenceList
etc. all within ReferenceCollections.

Also, in your tests I noted that you call System.gc() to cause the garbage
collector to run. Does this not just 'suggest' that the gc be run, thus
making the tests unreliable?

Stephen


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message