|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.carol.cmi.WeakCache
An object cache, to reduce memory usage by returning always the same instance for equal objects.
| Constructor Summary | |
WeakCache()
|
|
| Method Summary | |
java.lang.Object |
getCached(java.lang.Object obj)
Registers an object in the cache or return an already registered equal object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WeakCache()
| Method Detail |
public java.lang.Object getCached(java.lang.Object obj)
obj - Object to register.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||