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

com.softicar.platform.common.container.array.ArrayUtils Maven / Gradle / Ivy

Go to download

The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.

There is a newer version: 50.0.0
Show newest version
package com.softicar.platform.common.container.array;

import java.util.Collection;

public class ArrayUtils {

	public static int[] convertToIntArray(Collection collection) {

		int[] array = new int[collection.size()];

		int i = 0;
		for (Integer integer: collection) {
			array[i] = integer;
			++i;
		}

		return array;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy