jQuery in Action, 3rd edition
The moose likes Java in General and the fly likes Doubt with softreference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Doubt with softreference" Watch "Doubt with softreference" New topic
Author

Doubt with softreference

PavanPL KalyanK
Ranch Hand

Joined: Feb 28, 2009
Posts: 212

The sun specification states that use the softreference to avoid OOM error .

I am having query regarding the usage of softreference . I googled but coudn't find any example on how to use this .


[/code]
Fernando Mendez
Greenhorn

Joined: Jun 06, 2004
Posts: 10
In this page => http://www.codase.com/search/call?owner=java.lang.ref.SoftReference , you will find real world implementations samples of it. Hope it helps.
PavanPL KalyanK
Ranch Hand

Joined: Feb 28, 2009
Posts: 212
Thanks , Fernando
 
Don't get me started about those stupid light bulbs.
 
subject: Doubt with softreference
 
It's not a secret anymore!