Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ifs.util
Class Counter

    java.lang.Object
      ifs.util.Counter

    public class Counter

extends Object

Counter.

Version:
  1.0
Author:
  Tomáš Müller

Constructor Summary
`Counter()`

Method Summary
`void` | `dec(long value)` Decrement counter
`long` | `get()` Returns current value
`void` | `inc(long value)` Increment counter
`void` | `set(long value)` Set counter

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Counter

    public Counter()

Method Detail

### set

    public void set(long value)

  Set counter

### get

    public long get()

  Returns current value

### inc

    public void inc(long value)

  Increment counter

### dec

    public void dec(long value)

  Decrement counter

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005 Tomáš Müller