AnyLogic AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.analysis.DataUpdater_xjal
All Implemented Interfaces:
java.io.Serializable

@AnyLogicInternalCodegenAPI
public class DataUpdater_xjal
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(int, DataUpdater_xjal)
Author:
AnyLogic North America, LLC https://anylogic.com
See Also:
Serialized Form

Constructor Summary

Constructors 
DataUpdater_xjal()  
Constructor Description

Method Summary

All Methods Instance Methods Concrete Methods 
double getDataXValue()
Override this method to enable DataSet.add(double) method.
Default implementation throws exception.
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()
Modifier and Type Method Description

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

DataUpdater_xjal

public DataUpdater_xjal()

Method Detail

update

public void update​(DataSet ds)
Another way to override DataSet.update()
See Also:
DataSet(int, DataUpdater_xjal)

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(int, DataUpdater_xjal)

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()
How can we improve this article?