private static String itoa(int i)

By Hal Canary, 2010-02-21 11:19:27 (link)

I like Java's verbosity; it is consistant and clear. But sometimes you want succinct things.

/** "Returns a String object representing the specified integer." */
private static String itoa(int i){
	return Integer.toString(i);
/** "Returns a String object representing this Integer's value." */
private static String itoa(Integer i){
	return i.toString();

Also, I realized I had been using assert statements without -enableassertions for the last month, which did me very little good. A good habit, I suppose.


private static void printl(String s) {
private static void error(String s) {