Package org.rrd4j.core
Class RrdDoubleMatrix<U extends RrdUpdater<U>>
- java.lang.Object
-
- org.rrd4j.core.RrdPrimitive<U>
-
- org.rrd4j.core.RrdDoubleMatrix<U>
-
class RrdDoubleMatrix<U extends RrdUpdater<U>> extends RrdPrimitive<U>
-
-
Field Summary
-
Fields inherited from class org.rrd4j.core.RrdPrimitive
RRD_DOUBLE, RRD_INT, RRD_LONG, RRD_PRIM_SIZES, RRD_STRING, STRING_LENGTH
-
-
Constructor Summary
Constructors Constructor Description RrdDoubleMatrix(RrdUpdater<U> updater, int row, int column, boolean shouldInitialize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) double
get(int column, int index)
(package private) double[]
get(int column, int index, int count)
int
getColumns()
Getter for the fieldcolumns
.int
getRows()
Getter for the fieldrows
.(package private) void
set(int column, int index, double value)
void
set(int column, int index, double[] newValues)
set.(package private) void
set(int column, int index, double value, int count)
-
Methods inherited from class org.rrd4j.core.RrdPrimitive
isCachingAllowed, readBytes, readDouble, readDouble, readDouble, readEnum, readInt, readLong, readString, writeBytes, writeDouble, writeDouble, writeDouble, writeDouble, writeEnum, writeInt, writeLong, writeString
-
-
-
-
Constructor Detail
-
RrdDoubleMatrix
RrdDoubleMatrix(RrdUpdater<U> updater, int row, int column, boolean shouldInitialize) throws IOException
- Throws:
IOException
-
-
Method Detail
-
set
void set(int column, int index, double value) throws IOException
- Throws:
IOException
-
set
void set(int column, int index, double value, int count) throws IOException
- Throws:
IOException
-
set
public void set(int column, int index, double[] newValues) throws IOException
set.
- Parameters:
column
- a int.index
- a int.newValues
- an array of double.- Throws:
IOException
- if any.
-
get
double get(int column, int index) throws IOException
- Throws:
IOException
-
get
double[] get(int column, int index, int count) throws IOException
- Throws:
IOException
-
getColumns
public int getColumns()
Getter for the field
columns
.- Returns:
- a int.
-
getRows
public int getRows()
Getter for the field
rows
.- Returns:
- a int.
-
-