class PopulationUtils {

    public static Population concatenate(Population[] populations, PopulationFactory populationFactory){
        if (populations == null){
            throw new OptimizationException("input Population[] cannot be null");
        }
        return concatenate(populations, populationFactory, populations.length);
    }

}