util
Class Counter

java.lang.Object
  extended by util.Counter

public final class Counter
extends java.lang.Object

Counter which is a copy of Counter.java at package org.matsim.core.utils.misc (www.matsim.org);

Author:
Schroeder

Constructor Summary
Counter(java.lang.String prefix)
           
 
Method Summary
 long getCounter()
           
 void incCounter()
           
 void printCounter()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Counter

public Counter(java.lang.String prefix)
Parameters:
prefix - Some text that is output just before the counter-value.
Method Detail

incCounter

public void incCounter()

printCounter

public void printCounter()

getCounter

public long getCounter()

reset

public void reset()