private static void p(Object o) { System.out.println(o); } private static void p(int o) { System.out.println(o); } private static void p(long o) { System.out.println(o); } private static void p(boolean o) { System.out.println(o); } private static void pc(java.util.Collection c) { java.util.Iterator it = c.iterator(); while (it.hasNext()) { p(it.next()); } } private static void pa(Object[] c) { if (c == null) { p(null); return; } pc(Arrays.asList(c)); }