net.amrhassan.sqlbuilder.utils
Class StringUtils

java.lang.Object
  extended by net.amrhassan.sqlbuilder.utils.StringUtils

public final class StringUtils
extends Object

Helper utility class that is used internally by the sqlbuilder sub-packages


Method Summary
static
<T> String
join(String separator, Collection<T> objects)
          Join the String representation of several objects with by the separator String in between them.
static
<T> String
join(String separator, T... objects)
          Join the String representation of several objects with by the separator String in between them.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

join

public static <T> String join(String separator,
                              T... objects)
Join the String representation of several objects with by the separator String in between them. The Object.toString() method will be used to obtain the String representation of each object.


join

public static <T> String join(String separator,
                              Collection<T> objects)
Join the String representation of several objects with by the separator String in between them. The Object.toString() method will be used to obtain the String representation of each object.



Copyright © 2013. All Rights Reserved.