V - the value typepublic static class MVRTreeMap.Builder<V> extends java.lang.Object implements MVMap.MapBuilder<MVRTreeMap<V>,SpatialKey,V>
| Constructor and Description |
|---|
Builder()
Create a new builder for maps with 2 dimensions.
|
| Modifier and Type | Method and Description |
|---|---|
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 in interface MVMap.MapBuilder<MVRTreeMap<V>,SpatialKey,V>