package ast.representation;

/**
 * @author jpm
 * @since Mar 2, 2006
 *
 */
public class SequenceRepeat extends Sequence
{
    private double num;

    /** Initialize this sequence to the sequence of all nums. */
    public SequenceRepeat(double num)
    {
        this.num = num;
    }

    /**
     * @see adt.representation.Sequence#getNth(long)
     */
    public double getNth(long aPosition)
    {
        return num;
    }
}
