Java List to Int List toIntegerArray(final List list)

Here you can find the source of toIntegerArray(final List list)

Description

to Integer Array

License

Open Source License

Declaration

@Deprecated
    public static int[] toIntegerArray(final List<Integer> list) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.List;

public class Main {
    @Deprecated
    public static int[] toIntegerArray(final List<Integer> list) {
        int[] array = new int[list.size()];
        for (int i = 0; i < list.size(); i++) {
            array[i] = list.get(i);/*ww  w.java  2 s  .c  om*/
        }
        return array;
    }
}

Related

  1. toIntArray(List list)
  2. toIntArray(List list)
  3. toIntArray(List list)
  4. toIntArray(List values)
  5. toIntArray_impl(List i_list, int i_offset, int i_size)
  6. toIntegerArray(List arrayValues)
  7. toIntegerArray(List values)
  8. toIntegerList(final E[] array)
  9. toIntegerList(int... array)