// Date: 2011-05-12 Khu

package Problems2Generic;
// Only to be used for extensions of Problem and Solution.

public class GcdSolution
{
    private int gcd;

    public int gcd () {return gcd;}

    protected void set (int gcd)
    {
        assert gcd >= 0 : "precondition";
        this.gcd = gcd;
    }
    
    protected GcdSolution ()
      // If private, GcdProblemQAI should not be able to call this constructor,
      // but it does!
    {
    }
}