Class UnivalArray

java.lang.Object
org.rrd4j.core.jrrd.UnivalArray

class UnivalArray extends Object
This class is used to read a unival from a file unival is a rrdtool type, defined in rrd_format.h
Author:
Fabrice Bacchella fbacchella@spamcop.net
  • Constructor Details

    • UnivalArray

      public UnivalArray(RRDFile file, int size) throws IOException
      Read an UnivalArray from a rrd native file at the current position
      Parameters:
      file - the RRdFile
      size - the numer of elements in the array
      Throws:
      IOException - if any.
  • Method Details

    • getLong

      public long getLong(Enum<?> e)

      getLong.

      Parameters:
      e - a Enum object.
      Returns:
      a long.
    • getDouble

      public double getDouble(Enum<?> e)

      getDouble.

      Parameters:
      e - a Enum object.
      Returns:
      a double.