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

package lt.ktu.gmj.tasks;

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

// Referenced classes of package lt.ktu.gmj.tasks:
//			KnapSackGen

class KnapIterationsProvider extends SimplePropertyProvider
{

	public KnapSackGen knap;

	public KnapIterationsProvider(KnapSackGen _knap)
	{
		knap = _knap;
	}

	public Object get()
	{
		return new Integer(knap.Iterations);
	}

	public void set(Object value)
		throws InvalidPropertyException
	{
		knap.Iterations = ((Integer)value).intValue();
	}
}
