Package org.apache.groovy.json.internal

# Class ArrayUtils

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

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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ArrayUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static char[]`
  `copyRange(char[] source, int startIndex, int endIndex)`
  Copies a character range into a new array.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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