Skip to content
Snippets Groups Projects
Forked from GOSSA JULIEN / P4a
36 commits ahead of the upstream repository.
MainArrayListPersoRemoveFirstValue.java 377 B
package p4a;

public class MainArrayListPersoRemoveFirstValue {
	public static void main(String[] args) {
		ArrayListPerso<Integer> arrayList = new ArrayListPerso<Integer>();
		int nbOperation = Integer.parseInt(args[0]);
		
		for (int i = 0; i < nbOperation; i++) {
			arrayList.ajout(0, i);
		}
		for (int i = 0; i < nbOperation; i++) {
			arrayList.suppression(0);
		}
	}
}