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