org.kuali.maven.plugins.graph.tree
Class Counter

java.lang.Object
  extended by org.kuali.maven.plugins.graph.tree.Counter
All Implemented Interfaces:
Comparable<Counter>

public class Counter
extends Object
implements Comparable<Counter>

Thread safe counter


Constructor Summary
Counter()
           
Counter(int count)
           
 
Method Summary
 int compareTo(Counter other)
           
 int getCount()
           
 int increment()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Counter

public Counter()

Counter

public Counter(int count)
Method Detail

increment

public int increment()

getCount

public int getCount()

compareTo

public int compareTo(Counter other)
Specified by:
compareTo in interface Comparable<Counter>


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.