Sunday, September 8, 2013

java: Arrays.copyOfRange ‘to’ is EXCLUSIVE

 

java.util.Arrays.copyOfRange(Integer[] original, int from, int to)

 

 

original - the array from which a range is to be copied
from - the initial index of the range to be copied, inclusive
to - the final index of the range to be copied, exclusive. (This index may lie outside the array.)

No comments:

Post a Comment