|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cleancode.test.TestHarness.Counter
public class TestHarness.Counter
A basic counter object.
Constructor Summary | |
---|---|
TestHarness.Counter()
Create and reset a Counter object. |
Method Summary | |
---|---|
int |
getValue()
Obtains current value of counter. |
int |
increment()
Increments the counter value. |
void |
reset()
Resets the counter to zero. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestHarness.Counter()
Method Detail |
---|
public int getValue()
public int increment()
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CleanCode Java Libraries | Copyright © 2001-2012 Michael Sorens - Revised 2012.12.10 |