Class FastStringUtils


  • public class FastStringUtils
    extends Object
    Internal class for fast processing of Strings during JSON parsing
    • Constructor Detail

      • FastStringUtils

        public FastStringUtils()
    • Method Detail

      • toCharArray

        public static char[] toCharArray​(String string)
        Parameters:
        string - string to grab array from.
        Returns:
        char array from string
      • toCharArray

        public static char[] toCharArray​(CharSequence charSequence)
        Parameters:
        charSequence - to grab array from.
        Returns:
        char array from char sequence
      • noCopyStringFromChars

        public static String noCopyStringFromChars​(char[] chars)
        Parameters:
        chars - to shove array into.
        Returns:
        new string with chars copied into it