Package org.apache.commons.io.file
Interface Counters.Counter
- Enclosing class:
- Counters
public static interface Counters.Counter
Counts using a number.
- 
Method Details- 
addAdds the given number to this counter.- Parameters:
- val- the value to add.
 
- 
getlong get()Gets the counter as a long.- Returns:
- the counter as a long.
 
- 
getBigIntegerGets the counter as a BigInteger.- Returns:
- the counter as a BigInteger.
 
- 
getLongGets the counter as a Long.- Returns:
- the counter as a Long.
 
- 
incrementvoid increment()Adds one to this counter.
- 
resetResets this count to 0.
 
-