Here you can find the source of printArray(Object[] arry, String specialText)
public static void printArray(Object[] arry, String specialText)
//package com.java2s; //License from project: Apache License public class Main { public static void printArray(Object[] arry, String specialText) { for (int i = 0; i < arry.length; i++) { System.out.println(specialText + arry[i].toString()); }/*from w w w .j a v a 2s .c o m*/ } public static void printArray(long[] arry, String specialText) { for (int i = 0; i < arry.length; i++) { System.out.println(specialText + arry[i]); } } public static void printArray(int[] arry, String specialText) { for (int i = 0; i < arry.length; i++) { System.out.println(specialText + arry[i]); } } public static void printArray(byte[] arry, String specialText) { for (int i = 0; i < arry.length; i++) { System.out.println(specialText + arry[i]); } } public static void printArray(boolean[] arry, String specialText) { for (int i = 0; i < arry.length; i++) { System.out.println(specialText + arry[i]); } } public static void printArray(short[] arry, String specialText) { for (int i = 0; i < arry.length; i++) { System.out.println(specialText + arry[i]); } } public static void printArray(float[] arry, String specialText) { for (int i = 0; i < arry.length; i++) { System.out.println(specialText + arry[i]); } } public static void printArray(double[] arry, String specialText) { for (int i = 0; i < arry.length; i++) { System.out.println(specialText + arry[i]); } } public static void printArray(char[] arry, String specialText) { for (int i = 0; i < arry.length; i++) { System.out.println(specialText + arry[i]); } } }