Repository navigation
Commit d6407ef
BAEL-1539 shuffling collections (eugenp#3701)
* BAEL-1539 Added list, set and map shuffling code exaamples
* #BAEL-1539 fixed a typo
* #BAEL-1539 refactored sample code, added unit tests
* #BAEL-1539 Added unit tests and example for shuffling with custom randomness
* #BAEL-1539 removed source code and kept only tests as tests are sufficient code sample themselves
* #BAEL-1539 updated map shuffling example to use lambdas
* #BAEL-1539 lambda refactoring
* #BAEL-1539 updated map shuffling logic to shuffle entryset instead of keyset1 parent b35b913 commit d6407ef
1 file changed
Lines changed: 6 additions & 6 deletions
File tree
- core-java-8/src/test/java/com/baeldung/shufflingcollections
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments