Package | Description |
---|---|
org.bson.util |
Contains helper classes for working with the BSON protocol.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CopyOnWriteMap.Hash<K,V>
Uses
HashMap instances as its internal storage. |
(package private) static class |
CopyOnWriteMap.Linked<K,V>
Uses
LinkedHashMap instances as its internal storage. |
Modifier and Type | Method and Description |
---|---|
CopyOnWriteMap<K,V> |
CopyOnWriteMap.Builder.newHashMap() |
static <K,V> CopyOnWriteMap<K,V> |
CopyOnWriteMap.newHashMap()
Creates a new
CopyOnWriteMap with an underlying HashMap . |
static <K,V> CopyOnWriteMap<K,V> |
CopyOnWriteMap.newHashMap(java.util.Map<? extends K,? extends V> map)
Creates a new
CopyOnWriteMap with an underlying HashMap using the supplied map as the initial values. |
CopyOnWriteMap<K,V> |
CopyOnWriteMap.Builder.newLinkedMap() |
static <K,V> CopyOnWriteMap<K,V> |
CopyOnWriteMap.newLinkedMap()
Creates a new
CopyOnWriteMap with an underlying LinkedHashMap . |
static <K,V> CopyOnWriteMap<K,V> |
CopyOnWriteMap.newLinkedMap(java.util.Map<? extends K,? extends V> map)
Creates a new
CopyOnWriteMap with an underlying LinkedHashMap using the supplied map as the initial
values. |