Class Interners.InternerBuilder
java.lang.Object
com.google.common.collect.Interners.InternerBuilder
- Enclosing class:
Interners
-
Method Summary
Modifier and TypeMethodDescription<E> Interner<E> build()concurrencyLevel(int concurrencyLevel) Sets the concurrency level that will be used by the to-be-builtInterner.strong()Instructs theInterners.InternerBuilderto build a strong interner.weak()Instructs theInterners.InternerBuilderto build a weak interner.
-
Method Details
-
strong
Instructs theInterners.InternerBuilderto build a strong interner.- See Also:
-
weak
@CanIgnoreReturnValue @GwtIncompatible("java.lang.ref.WeakReference") public Interners.InternerBuilder weak()Instructs theInterners.InternerBuilderto build a weak interner.- See Also:
-
concurrencyLevel
Sets the concurrency level that will be used by the to-be-builtInterner.- See Also:
-
build
-