Here you can find the source of intsToStrings(final int... numbers)
public static String[] intsToStrings(final int... numbers)
//package com.java2s; /*/* w w w .ja v a 2 s. c o m*/ * Copyright 2009-2015 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ public class Main { public static String[] intsToStrings(final int... numbers) { if (numbers == null) { return null; } final String[] strings = new String[numbers.length]; int index = 0; for (final int number : numbers) { strings[index++] = Integer.toString(number); } return strings; } }