org.rrd4j.data

## Class Source

- java.lang.Object
- - org.rrd4j.data.Source

- Direct Known Subclasses:
    CDef, Def, PDef, VDef

      abstract class Source
      extends Object

  Abstract base class for RRD data sources.
  Provides common functionality for storing and managing time-series data with timestamps and values.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected long[]` | `timestamps`
    `protected double[]` | `values`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Source(String name)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `(package private) String` | `getName()`
    `(package private) long[]` | `getTimestamps()`
    `(package private) double[]` | `getValues()`
    `(package private) void` | `setTimestamps(long[] timestamps)`
    `(package private) void` | `setValues(double[] values)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### timestamps

          protected long[] timestamps

    - #### values

          protected double[] values

  - ### Constructor Detail

    - #### Source

          Source(String name)

  - ### Method Detail

    - #### getName

          String getName()

    - #### getTimestamps

          long[] getTimestamps()

    - #### getValues

          double[] getValues()

    - #### setTimestamps

          void setTimestamps(long[] timestamps)

    - #### setValues

          void setValues(double[] values)