ch.bind.philib.util
Class Counter
java.lang.Object
ch.bind.philib.util.Counter
public final class Counter
- extends Object
A simple counter where values can be added or the whole counter be reset.
getName
public String getName()
getUnit
public String getUnit()
add
@Deprecated
public void add(long value)
- Deprecated. deprecated in favor of
count(long).
count
public void count(long value)
reset
public void reset()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.