| org.geotools.util.WeakValueHashMapTest
WeakValueHashMapTest | final public class WeakValueHashMapTest extends TestCase (Code) | | Test the
WeakHashSet . A standard
HashSet object
is used for comparaison purpose.
version: $Id: WeakValueHashMapTest.java 27848 2007-11-12 13:10:32Z desruisseaux $ author: Martin Desruisseaux |
WeakValueHashMapTest | public WeakValueHashMapTest(String name)(Code) | | Constructs a test case with the given name.
|
main | public static void main(String[] args)(Code) | | Run the suit from the command line.
|
suite | public static Test suite()(Code) | | Returns the test suite.
|
testWeakReferences | public void testWeakReferences() throws InterruptedException(Code) | | Tests the
WeakValueHashMap using weak references.
In this test, we have to keep in mind than some elements
in
weakMap may disaspear at any time.
|
|
|