Java: practical use of PhantomReference?

113 Views Asked by At

Possible Duplicate:
Have you ever used Phantom reference in any project?

What are practical uses of PhantomReference? Since their 'get' always returns null, the objects they point to can't be accessed through them. So what's their use? Through subclassing maybe (similar to how WeakReference is subclassed in WeakHashMap)?

0

There are 0 best solutions below