com.vividsolutions.jump.util
Class Counter

java.lang.Object
  extended by com.vividsolutions.jump.util.Counter

public class Counter
extends java.lang.Object

A Counter used for example in Maps to count the number of times an item occurs.


Constructor Summary
Counter()
           
Counter(int value)
           
 
Method Summary
 int getValue()
           
 void increment()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Counter

public Counter()

Counter

public Counter(int value)
Method Detail

getValue

public int getValue()

increment

public void increment()