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

package lt.ktu.gmj.methods;

import lt.ktu.gmj.propertySheet.InvalidPropertyException;
import lt.ktu.gmj.propertySheet.SimplePropertyProvider;

// Referenced classes of package lt.ktu.gmj.methods:
//			MethodBase

class MethodIterationsProvider extends SimplePropertyProvider
{

	public MethodBase method;

	public MethodIterationsProvider(MethodBase methodbase)
	{
		method = methodbase;
	}

	public Object get()
	{
		return new Integer(method.iterations);
	}

	public void set(Object obj)
		throws InvalidPropertyException
	{
		method.iterations = ((Integer)obj).intValue();
	}
}
