de.grogra.pf.data
public final class Dataseries extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
Dataseries |
add(java.lang.Number v) |
Dataseries |
add(java.lang.Number x,
java.lang.Number y) |
Dataseries |
add(java.lang.Number x,
java.lang.Number y,
java.lang.Number z) |
Datacell |
addCell() |
Datacell |
getCell(int i)
Returns the
i-th cell in this dataseries. |
Dataseries |
operator$shl(double[] v) |
Dataseries |
operator$shl(java.lang.Number v) |
Dataseries |
set(int i,
java.lang.Number v)
Sets the value of cell
i to v. |
Dataseries |
set(int i,
java.lang.Number x,
java.lang.Number y)
Sets the value of cell
i to the pair (x, y). |
Dataseries |
set(int i,
java.lang.Number x,
java.lang.Number y,
java.lang.Number z)
Sets the value of cell
i to the triple (x, y, z). |
Dataseries |
setText(int i,
java.lang.String v)
Sets the value of cell
i to v. |
Dataseries |
setX(int i,
java.lang.Number v)
Sets the x-value of cell
i to v. |
Dataseries |
setY(int i,
java.lang.Number v)
Sets the y-value of cell
i to v. |
Dataseries |
setZ(int i,
java.lang.Number v)
Sets the z-value of cell
i to v. |
int |
size() |
public Dataseries add(java.lang.Number v)
public Dataseries add(java.lang.Number x, java.lang.Number y)
public Dataseries add(java.lang.Number x, java.lang.Number y, java.lang.Number z)
public Datacell addCell()
public Datacell getCell(int i)
i-th cell in this dataseries. If such a cell
does not yet exist, it is created implicitly.i - index of celli-th cell of dataseriespublic Dataseries operator$shl(double[] v)
public Dataseries operator$shl(java.lang.Number v)
public Dataseries set(int i, java.lang.Number v)
i to v.i - cell indexv - new valueDatacell.set(Number)public Dataseries set(int i, java.lang.Number x, java.lang.Number y)
i to the pair (x, y).i - cell indexx - new x-valuey - new y-valueDatacell.set(Number, Number)public Dataseries set(int i, java.lang.Number x, java.lang.Number y, java.lang.Number z)
i to the triple (x, y, z).i - cell indexx - new x-valuey - new y-valuez - new z-valueDatacell.set(Number, Number, Number)public Dataseries setText(int i, java.lang.String v)
i to v.i - cell indexv - new text valueDatacell.setText(String)public Dataseries setX(int i, java.lang.Number v)
i to v.i - cell indexv - new x-valueDatacell.setX(Number)public Dataseries setY(int i, java.lang.Number v)
i to v.i - cell indexv - new y-valueDatacell.setY(Number)public Dataseries setZ(int i, java.lang.Number v)
i to v.i - cell indexv - new z-valueDatacell.setZ(Number)public int size()