/*
 * #%L
 * wcm.io
 * %%
 * Copyright (C) 2017 wcm.io
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */
package io.wcm.qa.galenium.sampling.differences;


public class IntegerDifference extends StringDifference {

  public IntegerDifference(int index) {
    super(Integer.toString(index));
  }

}

@@ -707,22 +707,71 @@
 nce 
-extends String
+implements Difference %7B%0A%0A  private int index;%0A%0A  public Integer
 Diff
@@ -772,26 +772,45 @@
 erDifference
+()
  %7B
+%0A    this(0);%0A  %7D
 %0A%0A  public I
@@ -848,13 +848,319 @@
    s
-uper(
+etIndex(index);%0A  %7D%0A%0A  public int getIndex() %7B%0A    return index;%0A  %7D%0A%0A  public void setIndex(int index) %7B%0A    this.index = index;%0A  %7D%0A%0A  public void increment() %7B%0A    setIndex(getIndex() + 1);%0A  %7D%0A%0A  public void decrement() %7B%0A    setIndex(getIndex() - 1);%0A  %7D%0A%0A  @Override%0A  public String getTag() %7B%0A    return 
 Inte
@@ -1172,21 +1172,25 @@
 oString(
-i
+getI
 ndex
+(
 ));%0A  %7D%0A

add manipulation methods to integer difference