V - the value typepublic static class MVRTreeMap.Builder<V> extends MVMap.BasicBuilder<MVRTreeMap<V>,Spatial,V>
| 构造器和说明 |
|---|
Builder()
Create a new builder for maps with 2 dimensions.
|
| 限定符和类型 | 方法和说明 |
|---|---|
MVRTreeMap<V> |
create(Map<String,Object> config)
Create map from config.
|
MVRTreeMap.Builder<V> |
dimensions(int dimensions)
Set the dimensions.
|
MVRTreeMap.Builder<V> |
valueType(DataType<? super V> valueType)
Set the key data type.
|
create, getKeyType, getValueType, keyType, setKeyType, setValueTypepublic MVRTreeMap.Builder<V> dimensions(int dimensions)
dimensions - the dimensions to usepublic MVRTreeMap.Builder<V> valueType(DataType<? super V> valueType)
valueType 在类中 MVMap.BasicBuilder<MVRTreeMap<V>,Spatial,V>valueType - the key typepublic MVRTreeMap<V> create(Map<String,Object> config)
MVMap.BasicBuildercreate 在类中 MVMap.BasicBuilder<MVRTreeMap<V>,Spatial,V>config - config mapCopyright © 2022. All rights reserved.