K - the key typeV - the value typepublic static class MVMap.Builder<K,V> extends Object implements MVMap.MapBuilder<MVMap<K,V>,K,V>
| 构造器和说明 |
|---|
Builder()
Create a new builder with the default key and value data types.
|
| 限定符和类型 | 方法和说明 |
|---|---|
MVMap<K,V> |
create()
Create a new map of the given type.
|
DataType |
getKeyType() |
DataType |
getValueType() |
MVMap.Builder<K,V> |
keyType(DataType keyType)
Set the key data type.
|
MVMap.Builder<K,V> |
valueType(DataType valueType)
Set the value data type.
|
public MVMap.Builder<K,V> keyType(DataType keyType)
keyType - the key typepublic DataType getKeyType()
public DataType getValueType()
public MVMap.Builder<K,V> valueType(DataType valueType)
valueType - the value typeCopyright © 2017. All rights reserved.