K
- the key typeV
- the value typepublic static class MVMapConcurrent.Builder<K,V> extends Object implements MVMap.MapBuilder<MVMapConcurrent<K,V>,K,V>
Modifier and Type | Field and Description |
---|---|
protected DataType |
keyType |
protected DataType |
valueType |
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.MapBuilder
create
in interface MVMap.MapBuilder<MVMapConcurrent<K,V>,K,V>
Copyright © 2017 JBoss by Red Hat. All rights reserved.