Class Interners.InternerBuilder
java.lang.Object
com.google.common.collect.Interners.InternerBuilder
-
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.InternerBuilder
to build a strong interner.weak()
Instructs theInterners.InternerBuilder
to build a weak interner.
-
Method Details
-
strong
Instructs theInterners.InternerBuilder
to build a strong interner.- See Also:
-
weak
Instructs theInterners.InternerBuilder
to build a weak interner.- See Also:
-
concurrencyLevel
Sets the concurrency level that will be used by the to-be-builtInterner
.- See Also:
-
build
-