Uses of Interface
com.google.common.collect.Interner
-
Packages that use Interner Package Description 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
Classes in com.google.common.collect that implement Interner Modifier and Type Class Description (package private) static classInterners.InternerImpl<E>Fields in com.google.common.collect declared as Interner Modifier and Type Field Description private Interner<E>Interners.InternerFunction. internerMethods in com.google.common.collect that return Interner Modifier and Type Method Description <E> Interner<E>Interners.InternerBuilder. build()static <E> Interner<E>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 <E> Interner<E>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 Modifier and Type Method Description static <E> Function<E,E>Interners. asFunction(Interner<E> interner)Returns a function that delegates to theintern(E)method of the given interner.Constructors in com.google.common.collect with parameters of type Interner Constructor Description InternerFunction(Interner<E> interner)
-