/** * Each object inside the Set is converted into its toString() * representation. * * @param set the set * * @return the given Set as array * * @since 27-Jul-2009 */ public static String[] toStringArray(final Set<? extends Object> set) { Object[] objects = new Object[set.size()]; objects = set.toArray(objects); return toStringArray(objects); }
/** * Each object inside the Set is converted into its toString() * representation. * * @param set * the set * * @return the given Set as array * * @since 27-Jul-2009 */ public static String[] toStringArray(final Set<? extends Object> set) { Object[] objects = new Object[set.size()]; objects = set.toArray(objects); return toStringArray(objects); }