eaLib API Docs
Last Modified : January 7 2002

mss.ea.stat
Interface Counter

All Known Implementing Classes:
LongCounter, IntegerCounter

public interface Counter

Interface for a simple counter.

Since:
0.1
Version:
0.1 (01-02-2001)
Author:
Andreas Rummler

Method Summary
 void dec()
          Decrements the counter value by 1.
 void inc()
          Increments the counter value by 1.
 long longValue()
          Returns the counter state as a long value.
 void reset()
          Resets the counter.
 

Method Detail

dec

public void dec()
Decrements the counter value by 1.

inc

public void inc()
Increments the counter value by 1.

reset

public void reset()
Resets the counter.

longValue

public long longValue()
Returns the counter state as a long value.

eaLib API Docs
Last Modified : January 7 2002

Copyright © 2000-2001 Technical University of Ilmenau, Department ESS