CounterGlobal
instead.@Deprecated
public final class Counter
extends java.lang.Object
isFinished()
returns true
otherwise false
. To increment the counter you
should call increment()
, which also returns when the counter exceeds
its limit.Constructor and Description |
---|
Counter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
increment()
Deprecated.
Use method
CounterGlobal.increment() instead. |
static boolean |
isFinished()
Deprecated.
Use method
CounterGlobal.isFinished() instead. |
static void |
reset()
Deprecated.
Use method
CounterGlobal.reset() instead. |
static void |
reset(int limit_)
Deprecated.
functionality is deprecated and should never be used! Use
CounterGlobal.reset() instead. |
@Deprecated public static final void reset()
CounterGlobal.reset()
instead.reset(int)
@Deprecated public static final void reset(int limit_)
CounterGlobal.reset()
instead.IllegalArgumentException
is thrown.limit_
- Upper limit value.@Deprecated public static final boolean increment()
CounterGlobal.increment()
instead.true
otherwise false
.@Deprecated public static final boolean isFinished()
CounterGlobal.isFinished()
instead.true
if the counter exceeds its limit otherwise
false
. The counter is not manipulated by this method.14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft