diff --git a/src/main/java/org/tinspin/index/IndexConfig.java b/src/main/java/org/tinspin/index/IndexConfig.java index 8265f49..ce9970e 100644 --- a/src/main/java/org/tinspin/index/IndexConfig.java +++ b/src/main/java/org/tinspin/index/IndexConfig.java @@ -33,6 +33,7 @@ public static IndexConfig create(int dimensions) { /** * Number of dimensions. * @param dimensions Number of dimensions of keys. + * @return this */ public IndexConfig setDimensions(int dimensions) { this.dimensions = dimensions; @@ -47,6 +48,7 @@ public IndexConfig setDimensions(int dimensions) { * The latter obviously requires more memory. Default is 'true'. *
* This setting works only for kd-trees. + * @return this */ public IndexConfig setDefensiveKeyCopy(boolean defensiveKeyCopy) { this.defensiveKeyCopy = defensiveKeyCopy;