Package hec.data

Interface DataSet

All Superinterfaces:
Serializable

public interface DataSet extends Serializable
DataSet is an interface for objects containing sets of data.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an Object representing the data.
    Returns the Description Object.
    long
    Returns the end time as the Java long ms value.
    Returns the end time as a String in this format: 1200 01Jan2000
    long
    Returns the start time as the Java long ms value.
    Returns the start time as a String in this format: 1200 01Jan2000
    void
    Sets the data for this object.
    int
    Returns the number of data elements.
  • Method Details

    • size

      int size()
      Returns the number of data elements.
    • getDescription

      Object getDescription()
      Returns the Description Object. Maybe type this as the Description interface?
    • getData

      Object getData()
      Returns an Object representing the data. For a Time Series Object, this Object would be an array as follows: Object[] data = new Object[3]; data[0] = times; data[1] = values; data[2] = quality;
    • setData

      void setData(Object data) throws Exception
      Sets the data for this object. For a Time Series Object, this argument Object would be an array as follows: Object[] data = new Object[3]; data[0] = times; data[1] = values; data[2] = quality;
      Throws:
      Exception
    • getStartTimeString

      String getStartTimeString()
      Returns the start time as a String in this format: 1200 01Jan2000
    • getStartTime

      long getStartTime()
      Returns the start time as the Java long ms value.
    • getEndTimeString

      String getEndTimeString()
      Returns the end time as a String in this format: 1200 01Jan2000
    • getEndTime

      long getEndTime()
      Returns the end time as the Java long ms value.