java.lang.Object
net.anwiba.commons.lang.counter.IntCounter
- All Implemented Interfaces:
IIntCounter
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IntCounter
public IntCounter(int value) -
IntCounter
public IntCounter(int startValue, int maxValue)
-
-
Method Details
-
reset
public void reset()- Specified by:
resetin interfaceIIntCounter
-
value
public int value()- Specified by:
valuein interfaceIIntCounter
-
next
public int next()- Specified by:
nextin interfaceIIntCounter
-
increment
public void increment()- Specified by:
incrementin interfaceIIntCounter
-
decrement
public void decrement()- Specified by:
decrementin interfaceIIntCounter
-
previous
public int previous()- Specified by:
previousin interfaceIIntCounter
-
minimum
public long minimum() -
maximum
public long maximum()
-