|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Interner | |
---|---|
com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
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. |
Methods in com.google.common.collect with parameters of type Interner | ||
---|---|---|
static
|
Interners.asFunction(Interner<E> interner)
Returns a function that delegates to the intern(E) method of the given interner. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |