|
JIVE Platform Release 0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.bsu.cs.jive.util.StringSeparator
public class StringSeparator
Processes collections and provides stringified versions of them.
Constructor Summary | |
---|---|
StringSeparator()
|
Method Summary | |
---|---|
static String |
toString(Iterable<?> i)
Return a string version of the collection using comma-separation. |
static String |
toString(Iterable<?> i,
String separator)
Return a string version of the list the specified separator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringSeparator()
Method Detail |
---|
public static String toString(Iterable<?> i)
i
- an iterable collection
public static String toString(Iterable<?> i, String separator)
i
- an iterable collectionseparator
-
|
JIVE Platform Release 0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |