Here you can find the source of dumpArray(String msg, Object[] refs)
public static void dumpArray(String msg, Object[] refs)
//package com.java2s; /******************************************************************************* * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors:/* w ww. jav a2 s . c o m*/ * IBM Corporation - initial API and implementation *******************************************************************************/ public class Main { public static void dumpArray(String msg, Object[] refs) { System.out.println("DUMPING array: " + msg); //$NON-NLS-1$ if (refs == null) { System.out.println("null"); //$NON-NLS-1$ return; } for (int i = 0; i < refs.length; i++) System.out.println(refs[i].toString()); } }