[Java] Interface FastStringService

Methods Summary

Methods
Type Params Return Type Name and description
String noCopyStringFromChars(char[] chars)
@param chars to shove array into.
char[] toCharArray(String string)
@param string string to grab array from.

Method Detail

public String noCopyStringFromChars(char[] chars)

Parameters:
chars - to shove array into.
Returns:
new string with chars copied into it

public char[] toCharArray(String string)

Parameters:
string - string to grab array from.
Returns:
char array from string

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/apache/groovy/json/FastStringService.html