01: /******************************************************************************
02: * Counter.java
03: * ****************************************************************************/package org.openlaszlo.test.xmlrpc;
04:
05: public class Counter {
06: protected int mCount = 0;
07:
08: public Counter() {
09: }
10:
11: public Counter(int count) {
12: mCount = count;
13: }
14:
15: public int increment() {
16: return ++mCount;
17: }
18:
19: public int getCount() {
20: return mCount;
21: }
22: }
|