I create random stream
Stream<Integer> boxed = random.ints(0, 100000000).boxed();
But I need 60% all nubers == 0 and another - random values. How can I do it?
Aucun commentaire:
Enregistrer un commentaire