Adds a CheckList class that we can use for keeping check list states

This commit is contained in:
emcho 2010-03-07 20:14:56 +00:00
parent 85415978b0
commit 60dc25c251

View File

@ -19,5 +19,28 @@ import java.util.*;
public class CheckList
extends LinkedList<CandidatePair>
{
/**
* The state of this check list.
*/
private CheckListState state = CheckListState.RUNNING;
/**
* Returns the state of this check list.
*
* @return the <tt>CheckListState</tt> of this check list.
*/
public CheckListState getState()
{
return state;
}
/**
* Sets the state of this list.
*
* @param state the <tt>CheckListState</tt> for this list.
*/
protected void setState(CheckListState state)
{
this.state = state;
}
}