java.lang.Object | |
↳ | org.jfree.data.DataUtilities |
Utility methods for use with some of the data classes (but not the datasets,
see DatasetUtilities
).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the total of the values in one column of the supplied data
table by taking only the row numbers in the array into account.
| |||||||||||
Returns the total of the values in one column of the supplied data
table.
| |||||||||||
Returns the total of the values in one row of the supplied data
table.
| |||||||||||
Returns the total of the values in one row of the supplied data
table by taking only the column numbers in the array into account.
| |||||||||||
Returns a clone of the specified array.
| |||||||||||
Constructs an array of
Number objects from an array of
double primitives. | |||||||||||
Constructs an array of arrays of
Number objects from a
corresponding structure containing double primitives. | |||||||||||
Tests two arrays for equality.
| |||||||||||
Returns a
KeyedValues instance that contains the cumulative
percentage values for the data in another KeyedValues instance. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns the total of the values in one column of the supplied data table by taking only the row numbers in the array into account.
data | the table of values (null not permitted). |
---|---|
column | the column index (zero-based). |
validRows | the array with valid rows (zero-based). |
Returns the total of the values in one column of the supplied data table.
data | the table of values (null not permitted). |
---|---|
column | the column index (zero-based). |
Returns the total of the values in one row of the supplied data table.
data | the table of values (null not permitted). |
---|---|
row | the row index (zero-based). |
Returns the total of the values in one row of the supplied data table by taking only the column numbers in the array into account.
data | the table of values (null not permitted). |
---|---|
row | the row index (zero-based). |
validCols | the array with valid cols (zero-based). |
Returns a clone of the specified array.
source | the source array (null not permitted). |
---|
Constructs an array of Number
objects from an array of
double
primitives.
data | the data (null not permitted). |
---|
Double
.
Constructs an array of arrays of Number
objects from a
corresponding structure containing double
primitives.
data | the data (null not permitted). |
---|
Double
.
Tests two arrays for equality. To be considered equal, the arrays must have exactly the same dimensions, and the values in each array must also match (two values that qre both NaN or both INF are considered equal in this test).
a | the first array (null permitted). |
---|---|
b | the second array (null permitted). |
Returns a KeyedValues
instance that contains the cumulative
percentage values for the data in another KeyedValues
instance.
The percentages are values between 0.0 and 1.0 (where 1.0 = 100%).
data | the data (null not permitted). |
---|