|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.util.ArrayUtil
public abstract class ArrayUtil
Title: IJChart
Description: a chart library for the Java(tm) platform.
Nice static helpers for working with array.Copyright: Copyright (c) 2013
Company:
Constructor Summary | |
---|---|
ArrayUtil()
|
Method Summary | |
---|---|
static double[] |
calculateCumulativePercentData(double[] datas)
Calculate the cumulative percent datas. |
static double[] |
calculateCumulativePercentData(int[] datas)
Calculate the cumulative percent datas. |
static double[] |
calculatePercentData(double[] datas)
Calculate the percent datas. |
static double[] |
calculatePercentData(int[] datas)
Calculate the percent datas. |
static double[] |
reverseArray(double[] arr)
Reverse the array of elements. |
static int[] |
reverseArray(int[] arr)
Reverse the array of elements. |
static java.lang.String[] |
reverseArray(java.lang.String[] arr)
Reverse the array of elements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayUtil()
Method Detail |
---|
public static java.lang.String[] reverseArray(java.lang.String[] arr)
arr
- String[]
To deal with the array (null permitted).
public static double[] reverseArray(double[] arr)
arr
- double[]
To deal with the array (null permitted).
public static int[] reverseArray(int[] arr)
arr
- int[]
To deal with the array (null permitted).
public static double[] calculateCumulativePercentData(double[] datas)
datas
- double[]
To deal with the array (null permitted).
public static double[] calculateCumulativePercentData(int[] datas)
datas
- int[]
To deal with the array (null permitted).
public static double[] calculatePercentData(double[] datas)
datas
- double[]
To deal with the array (null permitted).
public static double[] calculatePercentData(int[] datas)
datas
- int[]
To deal with the array (null permitted).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |