K - the key typeV - the value typepublic static class MVMapConcurrent.Builder<K,V> extends java.lang.Object implements MVMap.MapBuilder<MVMapConcurrent<K,V>,K,V>
| Constructor and Description |
|---|
Builder()
Create a new builder with the default key and value data types.
|
| Modifier and Type | Method and Description |
|---|---|
MVMapConcurrent<K,V> |
create()
Create a new map of the given type.
|
MVMapConcurrent.Builder<K,V> |
keyType(DataType keyType)
Set the key data type.
|
MVMapConcurrent.Builder<K,V> |
valueType(DataType valueType)
Set the key data type.
|
public Builder()
public MVMapConcurrent.Builder<K,V> keyType(DataType keyType)
keyType - the key typepublic MVMapConcurrent.Builder<K,V> valueType(DataType valueType)
valueType - the key typepublic MVMapConcurrent<K,V> create()
MVMap.MapBuildercreate in interface MVMap.MapBuilder<MVMapConcurrent<K,V>,K,V>Copyright © 2010 - 2020 Adobe. All Rights Reserved