Class IndentUtils


  • public class IndentUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String arrayString​(int[] items)
      There is Arrays.toString, but this is intended to produce Cymling code some day.
      static <T> java.lang.String arrayString​(T[] items)
      There is Arrays.toString, but this is intended to produce Cymling code some day.
      static java.lang.StringBuilder indentSpace​(int len)
      Creates a new StringBuilder with the given number of spaces and returns it.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 StringBuilder with 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.