Class DefaultFastStringService

  • All Implemented Interfaces:
    FastStringService

    public class DefaultFastStringService
    extends Object
    implements FastStringService
    Internal class for fast processing of Strings during JSON parsing - default version
    • Constructor Detail

      • DefaultFastStringService

        public DefaultFastStringService()
    • Method Detail

      • toCharArray

        public char[] toCharArray​(String string)
        Specified by:
        toCharArray in interface FastStringService
        Parameters:
        string - string to grab array from.
        Returns:
        char array from string
      • noCopyStringFromChars

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