KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > calipso > reportgenerator > common > IntegerExt


1 package com.calipso.reportgenerator.common;
2
3 /**
4  *
5  * User: soliveri
6  * Date: Nov 18, 2003
7  * Time: 3:49:52 PM
8  *
9  */

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