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

public abstract class RangedRunnable<T> extends Object implements Runnable
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