public static List < Integer > unmodifiableView ( int [ ] array , int length ) { return Collections . unmodifiableList ( view ( array , length ) ) ; }
Creates and returns an unmodifiable view of the given int array that requires only a small object allocation .