// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) space 
// Source File Name:   Constant.java

package lt.monarch.function;


// Referenced classes of package lt.monarch.function:
//            Parameter, NodeCompiler, Node

public class Constant extends Parameter
{

    public double evaluate(double ad[])
    {
        return value;
    }

    public void compileRef(NodeCompiler nodecompiler, Node anode[])
    {
        nodecompiler.appendConst(value);
    }

    public boolean isConstant()
    {
        return true;
    }

    public Constant(String s, double d)
    {
        super(s);
        value = d;
    }

    protected double value;
}
