Package | Description |
---|---|
com.google.inject.internal.util |
Modifier and Type | Method and Description |
---|---|
MapMaker |
MapMaker.concurrencyLevel(int concurrencyLevel)
Guides the allowed concurrency among update operations.
|
MapMaker |
MapMaker.expiration(long duration,
TimeUnit unit)
Specifies that each entry should be automatically removed from the
map once a fixed duration has passed since the entry's creation.
|
MapMaker |
MapMaker.initialCapacity(int initialCapacity)
Sets a custom initial capacity (defaults to 16).
|
MapMaker |
MapMaker.loadFactor(float loadFactor)
Sets a custom load factor (defaults to 0.75).
|
MapMaker |
MapMaker.softKeys()
Specifies that each key (not value) stored in the map should be
wrapped in a
SoftReference (by default, strong references
are used). |
MapMaker |
MapMaker.softValues()
Specifies that each value (not key) stored in the map should be
wrapped in a
SoftReference (by default, strong references
are used). |
MapMaker |
MapMaker.weakKeys()
Specifies that each key (not value) stored in the map should be
wrapped in a
WeakReference (by default, strong references
are used). |
MapMaker |
MapMaker.weakValues()
Specifies that each value (not key) stored in the map should be
wrapped in a
WeakReference (by default, strong references
are used). |
Copyright © 2006-2012 Google, Inc.. All Rights Reserved.