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 Summary
All 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
- 
strong
public 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()
 
- 
concurrencyLevel
public Interners.InternerBuilder concurrencyLevel(int concurrencyLevel)
Sets the concurrency level that will be used by the to-be-builtInterner.- See Also:
 MapMaker.concurrencyLevel(int)
 
 - 
 
 -