simtools.data.async
Class MultiStampedDataSource.LabelSource
java.lang.Object
simtools.data.ValueProvider
simtools.data.DataSource
simtools.data.async.TimeStampedDataSource
simtools.data.async.MultiStampedDataSource.LabelSource
- Enclosing class:
- MultiStampedDataSource
public abstract class MultiStampedDataSource.LabelSource
- extends TimeStampedDataSource
Field Summary |
protected java.lang.String |
type
|
Methods inherited from class simtools.data.async.TimeStampedDataSource |
createEmptyDataSource, getCollection, getDataSourceInformationClass, getDoubleMax, getDoubleMin, getDoubleValue, getInfo, getInformation, getMax, getMin, getName, getTime, setInfo, setMax, setMin, setMinmax, setTime, toString |
Methods inherited from class simtools.data.DataSource |
addEndNotificationListener, addListener, computeLastIndex, computeMax, computeMin, computeSortedOrder, computeStartIndex, equals, getByteMax, getByteMin, getChoiceFormat, getFloatMax, getFloatMin, getIntegerMax, getIntegerMin, getLongMax, getLongMin, getShortMax, getShortMin, getSortedOrder, getSourceDependencies, isComparable, notifyEndNotificationListeners, notifyListenersForDataReplaced, notifyListenersForDataReplaced, notifyListenersForIndexRangeChange, notifyListenersForInfoChange, notifyListenersForOrderChange, notifyListenersForValueChange, notifyListenersForValueRangeChange, removeEndNotificationListener, removeListener, setSlice, sortedOrder, updateSortedOrder |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
type
protected java.lang.String type
MultiStampedDataSource.LabelSource
public MultiStampedDataSource.LabelSource(java.lang.String type)
throws java.io.IOException,
TimeStampedDataSourceCollection.InvalidFormatException
- Throws:
java.io.IOException
TimeStampedDataSourceCollection.InvalidFormatException
getValue
public abstract java.lang.Object getValue(long index)
throws DataException
- Specified by:
getValue
in class TimeStampedDataSource
- Throws:
DataException
getStartIndex
public long getStartIndex()
throws UnsupportedOperation
- Specified by:
getStartIndex
in class TimeStampedDataSource
- Throws:
UnsupportedOperation
getLastIndex
public long getLastIndex()
throws UnsupportedOperation
- Specified by:
getLastIndex
in class TimeStampedDataSource
- Throws:
UnsupportedOperation
getStart
public double getStart()
throws DataException
- Specified by:
getStart
in class TimeStampedDataSource
- Throws:
DataException
getEnd
public double getEnd()
throws DataException
- Specified by:
getEnd
in class TimeStampedDataSource
- Throws:
DataException
getAuxiliarySources
public java.util.Collection getAuxiliarySources()
- Description copied from class:
DataSource
- If the data source is compund return the collection of auxiliary data
sources
- Overrides:
getAuxiliarySources
in class TimeStampedDataSource
- Returns:
- the auxilary data source collection or null if not a compound
data source
isCompound
public boolean isCompound()
- Description copied from class:
DataSource
- Checks if a data source is compound, i.e. if it provides auxiliary data
sources
- Overrides:
isCompound
in class TimeStampedDataSource
- Returns:
- true if it is compound
isValid
public boolean isValid()
- Specified by:
isValid
in class TimeStampedDataSource
- Returns:
- true if it is valid
computeMinMax
protected void computeMinMax()
throws UnsupportedOperation
- Specified by:
computeMinMax
in class TimeStampedDataSource
- Throws:
UnsupportedOperation
isAuxiliary
public boolean isAuxiliary()
- Overrides:
isAuxiliary
in class DataSource
- Returns:
- true if the data source is an auxiliary data source