Package org.rrd4j.core
Class RrdDoubleMatrix<U extends RrdUpdater<U>>
java.lang.Object
org.rrd4j.core.RrdPrimitive<U>
org.rrd4j.core.RrdDoubleMatrix<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
ConstructorDescriptionRrdDoubleMatrix
(RrdUpdater<U> updater, int row, int column, boolean shouldInitialize) -
Method Summary
Modifier and TypeMethodDescription(package private) double
get
(int column, int index) (package private) double[]
get
(int column, int index, int count) int
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 Details
-
RrdDoubleMatrix
RrdDoubleMatrix(RrdUpdater<U> updater, int row, int column, boolean shouldInitialize) throws IOException - Throws:
IOException
-
-
Method Details
-
set
- Throws:
IOException
-
set
- Throws:
IOException
-
set
set.
- Parameters:
column
- a int.index
- a int.newValues
- an array of double.- Throws:
IOException
- if any.
-
get
- Throws:
IOException
-
get
- 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.
-