Package com.google.common.collect
Class Interners.InternerBuilder
- java.lang.Object
- 
- com.google.common.collect.Interners.InternerBuilder
 
- 
- Enclosing class:
- Interners
 
 public static class Interners.InternerBuilder extends Object Builder forInternerinstances.- Since:
- 21.0
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description <E> Interner<E>build()Interners.InternerBuilderconcurrencyLevel(int concurrencyLevel)Sets the concurrency level that will be used by the to-be-builtInterner.Interners.InternerBuilderstrong()Instructs theInterners.InternerBuilderto build a strong interner.Interners.InternerBuilderweak()Instructs theInterners.InternerBuilderto build a weak interner.
 
- 
- 
- 
Method Detail- 
strongpublic Interners.InternerBuilder strong() Instructs theInterners.InternerBuilderto build a strong interner.- See Also:
- Interners.newStrongInterner()
 
 - 
weak@GwtIncompatible("java.lang.ref.WeakReference") public Interners.InternerBuilder weak() Instructs theInterners.InternerBuilderto build a weak interner.- See Also:
- Interners.newWeakInterner()
 
 - 
concurrencyLevelpublic Interners.InternerBuilder concurrencyLevel(int concurrencyLevel) Sets the concurrency level that will be used by the to-be-builtInterner.- See Also:
- MapMaker.concurrencyLevel(int)
 
 
- 
 
-