|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of Interner in com.google.common.collect |
|---|
| Methods in com.google.common.collect that return Interner | ||
|---|---|---|
static
|
Interners.newStrongInterner()
Returns a new thread-safe interner which retains a strong reference to each instance it has interned, thus preventing these instances from being garbage-collected. |
|
static
|
Interners.newWeakInterner()
Returns a new thread-safe interner which retains a weak reference to each instance it has interned, and so does not prevent these instances from being garbage-collected. |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||