Java: is there an easy way to select a subset of an array?
Use copyOfRange, available since Java 1.6: Alternatives include: ArrayUtils.subarray(array, 1, array.length) from Apache commons-lang System.arraycopy(…) – rather unfriendly with the long param list.