/guava/guava/src/com/google/common/primitives/ImmutableIntArray.java
return rest.length == 0 ? EMPTY : new ImmutableIntArray( Arrays.copyOf( values, values.length) ) ;
return values.length == 0 ? EMPTY : new ImmutableIntArray ( Arrays.copyOf ( values, values.length ) ) ;
int[] array = new int[rest.length + 1]; array[0] = first; System.arraycopy(rest, 0, array, 1, rest.length); return new ImmutableIntArray(array); } public static ImmutableIntArray copyOf(int[] values) { <extra_id_0> } public static ImmutableIntArray copyOf(Collection<Integer> values) { return values.isEmpty() ? EMPTY : new ImmutableIntArray(Ints.toArray(values)); } public static ImmutableIntArray copyOf(Iterable<Integer> values) { if (values instanceof Collection) {