lundi 13 novembre 2017

How to get random lines from file in java/scala

I have a file with 1000 lines and I want to get the following done in Java/Scala. This is without using any in build library

1)Get 10 random lines

2)Get 10 random lines evenly distributed




Aucun commentaire:

Enregistrer un commentaire