/**
 * A Counter whose count has an upper bound.
 *
 * @author YOUR NAME HERE
 */
public class LimitedCounter
  extends BasicCounter
{
  int limit; /** Limit for this counter */

  
  /**
   * Create a new limited counter having the limit and starting
   * from the specified value.
   *
   * @param start Specified value for this counter to start counting from
   * @param limit Specified limit for this counter
   */
  public LimitedCounter(int start, int limit)
  {
    super(start);
    this.limit = limit;
  } // LimitedCounter(int, int)
} // class LimitedCounter 