|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.frascati.examples.counter.lib.CounterServiceImpl
public class CounterServiceImpl
A simple implementation of the CounterService interface.
| Constructor Summary | |
|---|---|
CounterServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
decrement(int v)
Decrement the counter value. |
int |
getValue()
Return the counter value. |
void |
increment(int v)
Increment the counter value. |
void |
resetIt()
Reset the counter value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CounterServiceImpl()
| Method Detail |
|---|
public final int getValue()
getValue in interface CounterServicepublic final void increment(int v)
increment in interface CounterServicepublic final void decrement(int v)
decrement in interface CounterServicepublic final void resetIt()
resetIt in interface CounterService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||