undefined
14
Task
Java Collections, level 4, lesson 8
Locked
Phantom references
Analyze the example. Implement the Helper class's getPopulatedList method: 1) create a list that can store phantom references to Monkey objects; 2) add 200 references to the list using the queue returned by helper.getQueue().
undefined
14
Task
Java Collections, level 4, lesson 8
Locked
Caching
The Cache class is a generic class for caching objects. It works with generic classes that have: a) a public constructor with one K type parameter; b) a K getKey() method with any access modifier.