// 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:   DoubleArrayProvider.java

package lt.ktu.gmj.propertySheet;


// Referenced classes of package lt.ktu.gmj.propertySheet:
//            SimplePropertyProvider, InvalidPropertyException

public class DoubleArrayProvider extends SimplePropertyProvider
{

    public Object get()
    {
        return new Double(array[index]);
    }

    public void set(Object obj)
        throws InvalidPropertyException
    {
        array[index] = ((Double)obj).doubleValue();
    }

    public DoubleArrayProvider(double ad[], int i)
    {
        array = ad;
        index = i;
    }

    private double array[];
    private int index;
}
