public static Coordinate[] toCoordinateArray(Collection coordList){
  return (Coordinate[])coordList.toArray(coordArrayType);
}

public static Coordinate [ ] toCoordinateArray ( Collection coordList ) { return ( Coordinate [ ] ) coordList . toArray ( coordArrayType ) ; }
converts the given collection of coordinates into a coordinate array .
