public static LineString lineString(Collection<Point> points){
  return lineString(points.toArray(new Point[points.size()]));
}

public static LineString lineString ( Collection < Point > points ) { return lineString ( points . toArray ( new Point [ points . size ( ) ] ) ) ; }
creates a linestring instance from the specified points
