Here you can find the source of minusEquals(int[] vals, int min)
public static void minusEquals(int[] vals, int min)
//package com.java2s; //License from project: Open Source License public class Main { public static void minusEquals(int[] vals, int min) { for (int i = 0; i < vals.length; i++) { vals[i] -= min;// w w w.j a va 2 s . c o m } } }