/guava/android/guava/src/com/google/common/primitives/ImmutableIntArray.java
Preconditions.checkElementIndex( startIndex, endIndex, length( ) ) ;
Preconditions.checkPositionIndexes ( startIndex, endIndex, length ( ) ) ;
return indexOf(target) >= 0; } public int[] toArray() { return Arrays.copyOfRange(array, start, end); } public ImmutableIntArray subArray(int startIndex, int endIndex) { <extra_id_0> return startIndex == endIndex ? EMPTY : new ImmutableIntArray(array, start + startIndex, start + endIndex); } public List<Integer> asList() { return new AsList(this);