Package sk.ipesoft.d2000.base
Class ColumnD2Double
- java.lang.Object
-
- sk.ipesoft.d2000.base.ColumnBase
-
- sk.ipesoft.d2000.base.ColumnD2Double
-
public class ColumnD2Double extends ColumnBase
-
-
Constructor Summary
Constructors Constructor Description ColumnD2Double(D2SD<?,?> struct, int columnIndex, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCellChangeListener(int row, IValueChangeListenerDouble listener)
void
addColumnChangeListener(IValueChangeListenerDouble listener)
void
fill(double value)
Fills column with given valuevoid
fill(double value, int fromRow, int toRow)
Fills column in rows fromRow ..void
fill(D2Double value)
Fills column with given valuevoid
fill(D2Double value, int fromRow, int toRow)
Fills column in rows fromRow ..sk.ipesoft.d2000.datatable.RealColumn<?,?,?>
getDataColumn()
void
replace(double toFind, double toReplace)
Replaces values toFind by value toReplacevoid
replace(double toFind, double toReplace, int fromRow, int toRow)
Replaces values toFind by value toReplace searching rows fromRow ..void
replace(D2Double toFind, D2Double toReplace)
Replaces values toFind by value toReplacevoid
replace(D2Double toFind, D2Double toReplace, int fromRow, int toRow)
Replaces values toFind by value toReplace searching rows fromRow ..-
Methods inherited from class sk.ipesoft.d2000.base.ColumnBase
asArray, avg, avg, copyToD2Array, fill, fill, getAnonymousDataColumn, getColumnIndex, getName, getStruct, max, max, min, min, replace, replace, sum, sum
-
-
-
-
Constructor Detail
-
ColumnD2Double
public ColumnD2Double(D2SD<?,?> struct, int columnIndex, java.lang.String name)
-
-
Method Detail
-
addCellChangeListener
public void addCellChangeListener(int row, IValueChangeListenerDouble listener)
-
addColumnChangeListener
public void addColumnChangeListener(IValueChangeListenerDouble listener)
-
fill
public void fill(double value, int fromRow, int toRow)
Fills column in rows fromRow .. toRow with given value- Parameters:
value
-fromRow
-toRow
-
-
fill
public void fill(double value)
Fills column with given value- Parameters:
value
-
-
fill
public void fill(D2Double value, int fromRow, int toRow)
Fills column in rows fromRow .. toRow with given value- Parameters:
value
-fromRow
-toRow
-
-
fill
public void fill(D2Double value)
Fills column with given value- Parameters:
value
-
-
getDataColumn
public final sk.ipesoft.d2000.datatable.RealColumn<?,?,?> getDataColumn()
-
replace
public void replace(double toFind, double toReplace, int fromRow, int toRow)
Replaces values toFind by value toReplace searching rows fromRow .. toRow- Parameters:
toFind
-toReplace
-fromRow
-toRow
-
-
replace
public void replace(double toFind, double toReplace)
Replaces values toFind by value toReplace- Parameters:
toFind
-toReplace
-
-
replace
public void replace(D2Double toFind, D2Double toReplace, int fromRow, int toRow)
Replaces values toFind by value toReplace searching rows fromRow .. toRow- Parameters:
toFind
-toReplace
-fromRow
-toRow
-
-
-