/** A class representing a task to be completed. Each task has
 *  priority level and a meaningful description. 
 * 
 * @author Jerod Weinman
 */
public class Task
{
  /** Create a task with the specified description and priority */
  public Task(String description, int priority)
  {
    this.description = description;
    this.priority = priority;
  }

  /** Return the priority of this task */
  public int getPriority() { return priority; }

  /** Return the description of this task */
  public String getDescription() { return description; }

  private String description; /** Description of this task */
  private int priority; /** Priority of this task */
}