Package org.organicdesign.fp.indent
Class IndentUtils
- java.lang.Object
-
- org.organicdesign.fp.indent.IndentUtils
-
public class IndentUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringarrayString(int[] items)There is Arrays.toString, but this is intended to produce Cymling code some day.static <T> java.lang.StringarrayString(T[] items)There is Arrays.toString, but this is intended to produce Cymling code some day.static java.lang.StringBuilderindentSpace(int len)Creates a new StringBuilder with the given number of spaces and returns it.
-
-
-
Method Detail
-
indentSpace
public static java.lang.StringBuilder indentSpace(int len)
Creates a new StringBuilder with the given number of spaces and returns it.- Parameters:
len- the number of spaces- Returns:
- a
StringBuilderwith the specificed number of initial spaces.
-
arrayString
public static <T> java.lang.String arrayString(T[] items)
There is Arrays.toString, but this is intended to produce Cymling code some day.
-
arrayString
public static java.lang.String arrayString(int[] items)
There is Arrays.toString, but this is intended to produce Cymling code some day.
-
-