1 package com.calipso.reportgenerator.common; 2 3 10 public class IntegerExt { 11 12 int currentValue; 13 14 public IntegerExt(int currentValue) { 15 this.currentValue = currentValue; 16 } 17 18 public int getCurrentValue() { 19 return currentValue; 20 } 21 22 public void setCurrentValue(int currentValue) { 23 this.currentValue = currentValue; 24 } 25 26 public void sumValue(int value) { 27 currentValue += value; 28 } 29 } 30 | Popular Tags |