ChartDirector 7.0 (Java Edition)

Chart.arraySlice


Usage

public static Object arraySlice(Object a, int startIndex, int len)

Description

Creates a new array with the elements copied from a part of a given array.

Arguments

ArgumentDefaultDescription
a(Mandatory)The array to be copied.
startIndex(Mandatory)The array index to start copying from.
len(Mandatory)The number of elements to copy.

Return Value

A new array with the elements copied from a part of a given array.