V - the value typepublic static class MVRTreeMap.Builder<V> extends Object implements MVMap.MapBuilder<MVRTreeMap<V>,SpatialKey,V>
| 构造器和说明 |
|---|
Builder()
Create a new builder for maps with 2 dimensions.
|
| 限定符和类型 | 方法和说明 |
|---|---|
MVRTreeMap<V> |
create()
Create a new map of the given type.
|
MVRTreeMap.Builder<V> |
dimensions(int dimensions)
Set the dimensions.
|
MVRTreeMap.Builder<V> |
valueType(DataType valueType)
Set the key data type.
|
public MVRTreeMap.Builder<V> dimensions(int dimensions)
dimensions - the dimensions to usepublic MVRTreeMap.Builder<V> valueType(DataType valueType)
valueType - the key typepublic MVRTreeMap<V> create()
MVMap.MapBuildercreate 在接口中 MVMap.MapBuilder<MVRTreeMap<V>,SpatialKey,V>Copyright © 2017. All rights reserved.