Contents
Class RangedRunnable<T>
java.lang.Object
VASSAL.tools.concurrent.RangedRunnable<T>
- Type Parameters:
T
- the type of the lower and upper bounds in the range
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
Progressor
A
Runnable
which operates on a rolling range.
A RangedRunnable
can be updated after it has been submitted but
before it has been run. This cuts down on the number of times the
RangedRunnable
must be submitted, and is appropriate for values
where only the most recent update matters.- Since:
- 3.1.11
- Author:
- Joel Uckelman
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRangedRunnable
(T init) Creates a newRangedRunnable
with the given lower bound. -
Method Summary