String vecStr = VectorHelper.vectorToCSVString(vector, false);
getWriter().write(vecStr);
}
};
try {
Iterable<Vector> iter = new RandomVectorIterable(50);
writer.write(iter);
} finally {
Closeables.closeQuietly(writer);
}
Iterator<Vector> csvIter = new CSVVectorIterator(new StringReader(sWriter.getBuffer().toString()));