code: @ExportInstanceMethod
  	public static GeometryIndex addChildren(GeometryIndexService instance, GeometryIndex index, String type,
  			int[] values) {
  		if ("geometry".equalsIgnoreCase(type)) {
  			return instance.addChildren(index, GeometryIndexType.TYPE_GEOMETRY, values);
  		} else if ("vertex".equalsIgnoreCase(type)) {
  			return instance.addChildren(index, GeometryIndexType.TYPE_VERTEX, values);
  		} else if ("edge".equalsIgnoreCase(type)) {
  			return instance.addChildren(index, GeometryIndexType.TYPE_EDGE, values);
  		}
  		return null;
  	}
docs: Create a new geometry index instance, by adding more depth to a given parent index.
  
  @param instance
  The index service instance to help you create the index.
  @param index
  The parent index to start from.
  @param type
  The type for the deepest index value.
  @param values
  A list of values for the children to attach to the parent index.
  @return The next index.