ch.bind.philib.util
Class Counter

java.lang.Object
  extended by 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.


Method Summary
 void count(long value)
           
 String getName()
           
 void reset()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public String getName()

count

public void count(long value)

reset

public void reset()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.