public static List<Double> unmodifiableView(double[] array,int length){
  return Collections.unmodifiableList(view(array,length));
}

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