All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bnd.math.reflection.evo.ChromosomeReflectionProviderImpl Maven / Gradle / Ivy

package com.bnd.math.reflection.evo;

import com.bnd.core.reflection.SpringReflectionProviderImpl;
import com.bnd.math.domain.evo.Chromosome;

@SuppressWarnings("rawtypes")
public class ChromosomeReflectionProviderImpl extends SpringReflectionProviderImpl {

	public ChromosomeReflectionProviderImpl(Class> clazz) {
		super(clazz);
	}

	@Override
	public Chromosome clone(Chromosome chromosome) {
		Chromosome chromosomeClone = super.clone(chromosome);
		chromosomeClone.setCode(getGenericProvider().clone(chromosome.getCode()));
		return chromosomeClone;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy