|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsimtools.data.ValueProvider
simtools.data.DataSource
simtools.data.CollectiveDataSource
simtools.data.merge.SynchronousMergeDSCollection.IndirectSynchronousMergedDataSource
public class SynchronousMergeDSCollection.IndirectSynchronousMergedDataSource
This optimization is no longer used at the moment. A data source dedicated to manage periodical data sources This collective data source provides a indirection to source values, according to a LinearIndirectParameters attribute.
| Field Summary | |
|---|---|
protected DataInfo |
info
|
protected SynchronousMergeDSCollection.IndirectParameter |
parameter
|
protected DataSource |
source
|
| Fields inherited from class simtools.data.CollectiveDataSource |
|---|
collection, myIndex |
| Fields inherited from class simtools.data.DataSource |
|---|
endNotificationListeners, listeners, sortedOrder |
| Fields inherited from class simtools.data.ValueProvider |
|---|
ByteProvider, DoubleProvider, FloatProvider, IntegerProvider, kind, LongProvider, ObjectProvider, ShortProvider |
| Constructor Summary | |
|---|---|
SynchronousMergeDSCollection.IndirectSynchronousMergedDataSource(java.lang.String name,
DataSourceCollection c,
int i,
DataSource source,
SynchronousMergeDSCollection.IndirectParameter parameter)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
computeMax()
|
java.lang.Object |
computeMin()
Force the computation if possible. |
double |
getDoubleMax()
|
double |
getDoubleMin()
|
double |
getDoubleValue(long index)
Optimized accessor for double values. |
DataInfo |
getInformation()
These methods are common to the whole collection |
java.lang.Object |
getMax()
|
java.lang.Object |
getMin()
Return values if possibly only, without expensive computations. |
java.lang.Object |
getObjectValue(long index)
Naming compatibility function. |
java.lang.Object |
getValue(long index)
|
protected void |
setInfo(java.lang.String name)
|
int |
sortedOrder()
Check if the values are sorted or not. |
| Methods inherited from class simtools.data.ValueProvider |
|---|
valueClass |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final DataSource source
protected DataInfo info
protected SynchronousMergeDSCollection.IndirectParameter parameter
| Constructor Detail |
|---|
public SynchronousMergeDSCollection.IndirectSynchronousMergedDataSource(java.lang.String name,
DataSourceCollection c,
int i,
DataSource source,
SynchronousMergeDSCollection.IndirectParameter parameter)
throws MergeDataException
MergeDataException| Method Detail |
|---|
public java.lang.Object computeMax()
throws UnsupportedOperation
computeMax in class CollectiveDataSourceUnsupportedOperation
public java.lang.Object computeMin()
throws UnsupportedOperation
CollectiveDataSource
computeMin in class CollectiveDataSourceUnsupportedOperation
public java.lang.Object getMax()
throws UnsupportedOperation
getMax in class CollectiveDataSourceUnsupportedOperation
public java.lang.Object getMin()
throws UnsupportedOperation
DataSource
getMin in class CollectiveDataSourceUnsupportedOperationpublic int sortedOrder()
DataSource
sortedOrder in class CollectiveDataSourcepublic DataInfo getInformation()
CollectiveDataSource
getInformation in class CollectiveDataSourceprotected void setInfo(java.lang.String name)
public java.lang.Object getObjectValue(long index)
throws DataException
ValueProvider
getObjectValue in class ValueProviderDataException
public double getDoubleValue(long index)
throws DataException
ValueProvider
getDoubleValue in class CollectiveDataSourceDataException
public java.lang.Object getValue(long index)
throws DataException
getValue in class CollectiveDataSourceDataException
public double getDoubleMax()
throws DataException
getDoubleMax in class CollectiveDataSourceDataException
public double getDoubleMin()
throws DataException
getDoubleMin in class CollectiveDataSourceDataException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||