java.lang.Object
org.rrd4j.core.jrrd.UnivalArray
This class is used to read a unival from a file unival is a rrdtool type, defined in rrd_format.h
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ByteBufferThe buffer holding the array's values.private final intSize in bytes of one native long.Constructor Summary
ConstructorsConstructorDescriptionUnivalArray(RRDFile file, int size) Read an UnivalArray from a rrd native file at the current positionMethod Summary
All Methods
Field Details
buffer
The buffer holding the array's values.sizeoflong
private final int sizeoflongSize in bytes of one native long.
Constructor Details
UnivalArray
Read an UnivalArray from a rrd native file at the current position- Parameters:
file- the RRdFile, read from its current position after aligningsize- the numer of elements in the array
Method Details
getLong
getDouble