/** * Create a new map with the given dimensions and value type. * * @param <V> the value type * @param dimensions the number of dimensions * @param valueType the value type * @return the map */ public static <V> MVRTreeMap<V> create(int dimensions, DataType valueType) { return new MVRTreeMap<>(dimensions, valueType); }
@Override public MVRTreeMap<V> create() { if (valueType == null) { valueType = new ObjectDataType(); } return new MVRTreeMap<>(dimensions, valueType); }
/** * Create a new map with the given dimensions and value type. * * @param <V> the value type * @param dimensions the number of dimensions * @param valueType the value type * @return the map */ public static <V> MVRTreeMap<V> create(int dimensions, DataType valueType) { return new MVRTreeMap<>(dimensions, valueType); }
/** * Create a new map with the given dimensions and value type. * * @param <V> the value type * @param dimensions the number of dimensions * @param valueType the value type * @return the map */ public static <V> MVRTreeMap<V> create(int dimensions, DataType valueType) { return new MVRTreeMap<V>(dimensions, valueType); }
/** * Create a new map with the given dimensions and value type. * * @param <V> the value type * @param dimensions the number of dimensions * @param valueType the value type * @return the map */ public static <V> MVRTreeMap<V> create(int dimensions, DataType valueType) { return new MVRTreeMap<V>(dimensions, valueType); }
@Override public MVRTreeMap<V> create() { if (valueType == null) { valueType = new ObjectDataType(); } return new MVRTreeMap<V>(dimensions, valueType); }
@Override public MVRTreeMap<V> create() { if (valueType == null) { valueType = new ObjectDataType(); } return new MVRTreeMap<V>(dimensions, valueType); }
@Override public MVRTreeMap<V> create() { if (valueType == null) { valueType = new ObjectDataType(); } return new MVRTreeMap<>(dimensions, valueType); }