riffleIn method
Splits into two and uses interleave to combine, second half first.
1, 2, 3, 4, 5, 6
.riffleIn() returns
4, 1, 5, 2, 6, 3
Implementation
List<E> riffleIn() {
return h.riffleInList(this);
}
Splits into two and uses interleave to combine, second half first.
1, 2, 3, 4, 5, 6
.riffleIn() returns
4, 1, 5, 2, 6, 3
List<E> riffleIn() {
return h.riffleInList(this);
}