|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.taco.text.AbstractObjectToStringConverter
com.taco.text.IntArrayToStringConverter
public final class IntArrayToStringConverter
A converter from int arrays to comma-separated strings.
Field Summary | |
---|---|
static IntArrayToStringConverter |
instance
The singleton instance of this class. |
Method Summary | |
---|---|
java.lang.String |
toString(java.lang.Object obj)
Cast obj to int[] , and return the result of
ArrayUtilities.toString() on the array. |
Methods inherited from class com.taco.text.AbstractObjectToStringConverter |
---|
map |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final IntArrayToStringConverter instance
Method Detail |
---|
public final java.lang.String toString(java.lang.Object obj)
obj
to int[]
, and return the result of
ArrayUtilities.toString()
on the array.
toString
in interface IObjectToStringConverter
toString
in class AbstractObjectToStringConverter
obj
- The array to convert; must be a non-null instance of
int[]
.
java.lang.IllegalArgumentException
- if obj
is null or not an
instance of int[]
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |