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

package drm.genetics.simple;

import drm.genetics.Gene;

public class PrimitiveGene
	implements Gene
{

	public Object value;

	public PrimitiveGene(Class instance)
	{
		value = null;
		try
		{
			value = instance.newInstance();
		}
		catch(InstantiationException ex)
		{
			ex.printStackTrace();
		}
		catch(IllegalAccessException ex)
		{
			ex.printStackTrace();
		}
	}

	public String toString()
	{
		return String.valueOf(value);
	}
}
