org.apache.wicket.util.value
Class Count

java.lang.Object
  extended by org.apache.wicket.util.value.Count
All Implemented Interfaces:
java.io.Serializable, IClusterable

public final class Count
extends java.lang.Object
implements IClusterable

A class for counting things.

Since:
1.2.6
Author:
Jonathan Locke
See Also:
Serialized Form

Constructor Summary
Count()
           
 
Method Summary
 int getCount()
          Retrieves the current count value.
 void increment()
          Increases the count value by one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Count

public Count()
Method Detail

getCount

public int getCount()
Retrieves the current count value.

Returns:
the count value

increment

public void increment()
Increases the count value by one.



Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.