import it.unimi.dsi.fastutil.ints.IntArrayList;
public class FastutilExample {
public static void main(String[] args) {
IntArrayList list = new IntArrayList(1000000);
for (int i = 0; i < 1000000; i++) {
list.add(i);
}
System.out.println("Size of the list: " + list.size());
}
}