Class ArrayUtils

java.lang.Object
org.apache.groovy.json.internal.ArrayUtils

public class ArrayUtils extends Object
Array helpers used by the JSON internals.
  • Constructor Details

    • ArrayUtils

      public ArrayUtils()
  • Method Details

    • copyRange

      public static char[] copyRange(char[] source, int startIndex, int endIndex)
      Copies a character range into a new array.
      Parameters:
      source - the source array
      startIndex - the inclusive start index
      endIndex - the exclusive end index
      Returns:
      a new array containing the requested range