com.xj.anylogic.engine.analysis
Class DataUpdater

java.lang.Object
  extended by com.xj.anylogic.engine.analysis.DataUpdater
All Implemented Interfaces:
java.io.Serializable

public class DataUpdater
extends java.lang.Object
implements java.io.Serializable

This class provides another way to override update() method of data set, histogram and other data elements. Subclass should override one of methods and may be passed to appropriate constructor of data element, e.g. DataSet.DataSet(int, DataUpdater)

Author:
XJ Technologies Company Ltd. www.anylogic.com
See Also:
Serialized Form

Constructor Summary
DataUpdater()
           
 
Method Summary
 double getDataXValue()
          Override this method to enable DataSet.add(double) method.
 void update(DataSet ds)
          Another way to override DataSet.update()
 void update(Histogram2DData data)
          Another way to override Histogram2DData.update()
 void update(HistogramData data)
          Another way to override HistogramData.update()
 void update(StatisticsContinuous statistics)
          Another way to override StatisticsContinuous.update()
 void update(StatisticsDiscrete statistics)
          Another way to override StatisticsDiscrete.update()
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataUpdater

public DataUpdater()
Method Detail

update

public void update(DataSet ds)
Another way to override DataSet.update()

See Also:
DataSet.DataSet(int, DataUpdater)

getDataXValue

public double getDataXValue()
Override this method to enable DataSet.add(double) method.
Default implementation throws exception.

Returns:
the value of x to use when user calls DataSet.add(double)
See Also:
DataSet.DataSet(int, DataUpdater)

update

public void update(HistogramData data)
Another way to override HistogramData.update()


update

public void update(Histogram2DData data)
Another way to override Histogram2DData.update()


update

public void update(StatisticsContinuous statistics)
Another way to override StatisticsContinuous.update()


update

public void update(StatisticsDiscrete statistics)
Another way to override StatisticsDiscrete.update()



Copyright © 1991-2008 XJ Technlogies. All Rights Reserved.