Class SampleSetBuilder.BasicSampleSet

  • All Implemented Interfaces:
    SampleSet
    Enclosing class:
    SampleSetBuilder

    protected static class SampleSetBuilder.BasicSampleSet
    extends java.lang.Object
    implements SampleSet
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BasicSampleSet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getGatewayName()
      The originating gateway name
      java.lang.String getProviderName()
      The originating provider name
      SampleSet.TagDescriptor[] getTags()
      Returns descriptors of the tags that correspond with the first rank of getValues.
      long getTimestamp()
      The time that the sample set was generated at.
      QualifiedValue[][] getValues()
      Returns a double array, the first index is the index of the tag inside getTags.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BasicSampleSet

        protected BasicSampleSet()
    • Method Detail

      • getGatewayName

        public java.lang.String getGatewayName()
        Description copied from interface: SampleSet
        The originating gateway name
        Specified by:
        getGatewayName in interface SampleSet
      • getProviderName

        public java.lang.String getProviderName()
        Description copied from interface: SampleSet
        The originating provider name
        Specified by:
        getProviderName in interface SampleSet
      • getTimestamp

        public long getTimestamp()
        Description copied from interface: SampleSet
        The time that the sample set was generated at. Does not indicate anything about the data contained in the set.
        Specified by:
        getTimestamp in interface SampleSet
      • getValues

        public QualifiedValue[][] getValues()
        Description copied from interface: SampleSet
        Returns a double array, the first index is the index of the tag inside getTags. The other is the values sorted by ascending time.
        Specified by:
        getValues in interface SampleSet