writer.write("\tWeight : [props - optional]: Point:\n\t");
for (Iterator<WeightedVectorWritable> iterator = points.iterator(); iterator.hasNext(); ) {
WeightedVectorWritable point = iterator.next();
writer.write(String.valueOf(point.getWeight()));
if (point instanceof WeightedPropertyVectorWritable) {
WeightedPropertyVectorWritable tmp = (WeightedPropertyVectorWritable) point;
Map<Text, Text> map = tmp.getProperties();
writer.write(" : [");
for (Map.Entry<Text, Text> entry : map.entrySet()) {
writer.write(entry.getKey().toString());
writer.write("=");
writer.write(entry.getValue().toString());