In Java, I want to create a list based on part of an array, for example, those starting from position 2 (indexed of course from 0) to position 8, what is the convenient way of doing so without explicitly looping?
Thanks.
In Java, I want to create a list based on part of an array, for example, those starting from position 2 (indexed of course from 0) to position 8, what is the convenient way of doing so without explicitly looping?
Thanks.