It would look ugly.. as explicit datatypes need to be mentioned.. you are better off using parallelize instead.
Mayur Rustagi Ph: +1 (760) 203 3257 http://www.sigmoidanalytics.com @mayur_rustagi <https://twitter.com/mayur_rustagi> On Fri, May 16, 2014 at 6:11 PM, Eduardo Costa Alfaia < e.costaalf...@unibs.it> wrote: > Hi Guys, > > TD has given me this piece of code: “sparkContext.makeRDD(1 to 100, > 100).collect()", I am using a java code of NetworkWordcount, How could I > use this piece in this code in java? > > Thanks > > Informativa sulla Privacy: http://www.unibs.it/node/8155