Your preferences have been saved!
» Converts an array of Strings to a comma-sperated-list. - //package org.gwm.splice.client.util; import java.util.ArrayList; /**  * Helper methods for Strings.  *   * @author Andy Scholz (andy.scholz@gmail.com)  *  */ public class StringUtils {   ... 17 Feb 12 » Concatenates the given long[] array into one String, inserting a - import java.util.StringTokenizer; /**  * Some common string manipulation utilities.  */ public class Util{     /**      * Concatenates the given long[] array into one String, inserting a delimiter      * between each pair of elements.      */     public static String joinLongs(long[] tokens, String delimiter) {... 17 Feb 12 » Concatenates the given int[] array into one String, inserting a - import java.util.StringTokenizer; public class Util{     /**      * Concatenates the given int[] array into one String, inserting a delimiter      * between each pair of elements.      */     public static String joinInts(int[] tokens, String delimiter) {       if (tokens == null) return "";       StringBuilder result = new StringBuilder();       for (int i = 0; i < tokens.length; i++) {... 17 Feb 12 » Return a string representation of the given native two-dimensional long - import java.io.ByteArrayInputStream; import java.io.InputStream; import java.io.UnsupportedEncodingException; /**  * Some common string manipulation utilities.  */ public class Util{     /**      * @return a string representation of the given native array.      */... 17 Feb 12 » Return a String representation of the given two-dimensional object array - import java.io.ByteArrayInputStream; import java.io.InputStream; import java.io.UnsupportedEncodingException; /**  * Some common string manipulation utilities.  */ public class Util{     /**      * @return a String representation of the given object array.      * The strings are obtained by calling toString() on the... 17 Feb 12 » Array helper - import java.lang.reflect.Array; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.List; public final class ArrayHelper {   public static int indexOf(Object[] array, Object object) {     for (int i = 0; i < array.length; i++) {... 17 Feb 12 » Converts a Array to an Enumeration and allows it to - import java.util.*; import java.io.*; /**  * An ArrayEnumeration converts a Array to an Enumeration and allows it  * to be serialized.   * <p>  * @author Robin Sharp  */ public class ArrayEnumeration implements Enumeration, Serializable {... 17 Feb 12 » Convert array to string (from c3p0) - public final class ArrayUtils {   /**    * The array may contain nulls, but <TT>o</TT> must be non-null.    */   public static int indexOf(Object[] array, Object o) {     for (int i = 0, len = array.length; i < len; ++i)       if (o.equals(array[i]))         return i;     return -1;   }... 17 Feb 12 » Array Converter - import java.util.ArrayList; import java.util.List; import java.lang.reflect.Array; /**  * Creation-Date: 08.10.2006, 17:37:50  *  * @author Thomas Morgner  */ public class ArrayConverter {... 17 Feb 12 » Turn an array of ints into a printable string. - import java.io.IOException; import java.io.InputStream; import java.util.Enumeration; import java.util.Properties; public class Main {   /**    * Turn an array of ints into a printable string. Returns what's returned    * in Java 5 by java.util.Arrays.toString(int[]).    */   public  static  String  stringify( int[] raw )... 17 Feb 12