code: public static void delta(int[] data) {
                  for (int i = data.length - 1; i > 0; --i) {
                          data[i] -= data[i - 1];
                  }
          }
docs: Apply differential coding (in-place).
  
  @param data
  data to be modified