Java Integer Create toInteger(int[] arr)

Here you can find the source of toInteger(int[] arr)

Description

to Integer

License

Open Source License

Declaration

public static Integer[] toInteger(int[] arr) 

Method Source Code

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

public class Main {

    public static Integer[] toInteger(int[] arr) {
        Integer[] ret = new Integer[arr.length];
        for (int i = 0; i < arr.length; i++) {
            ret[i] = arr[i];//from w w w.j a  v a 2s.c o  m
        }
        return ret;
    }
}

Related

  1. toInteger(final String integerAsString)
  2. toInteger(final String value)
  3. toInteger(final String value)
  4. toInteger(int value)
  5. toInteger(int value)
  6. toInteger(int[] bytes)
  7. toInteger(Long l)
  8. toInteger(long n)
  9. toInteger(Number n)