org.eidola.util
Class Util
java.lang.Object
|
+--org.eidola.util.Util
- public abstract class Util
- extends Object
Miscellaneous static utility methods.
- Version:
- [Development version]
- Author:
- Paul Cantrell
Method Summary |
static String |
collectionToString(Collection c,
String separator)
Gives a string containing the items of a collection, in the order returned by
iterator(), with a separator string between items. |
static void |
indent(int i)
Prints i spaces to System.out. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
indent
public static void indent(int i)
- Prints i spaces to System.out. Useful for debug dumps of hierarchical stuff.
collectionToString
public static String collectionToString(Collection c,
String separator)
- Gives a string containing the items of a collection, in the order returned by
iterator(), with a separator string between items.