| Sign In/My Account | View Cart |
| Article: |
Memoization in Java Using Dynamic Proxy Classes | |
| Subject: | Methods as Keys | |
| Date: | 2003-08-22 08:35:05 | |
| From: | crazybob | |
|
Response to: Methods as Keys
|
||
|
You can store SoftReferences to the cached values and remove a key when it's value gets collected (using a ReferenceQueue).
|
||