AnyLogic
Expand
Font size
All Implemented Interfaces:
Serializable

@AnyLogicInternalCodegenAPI
public class DataUpdater_xjal
extends Object
implements 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

ConstructorDescription
DataUpdater_xjal() 

Method Summary

Modifier and TypeMethodDescription
doublegetDataXValue()
Override this method to enable DataSet.add(double) method.
Default implementation throws exception.
voidupdate(DataSet ds)
Another way to override DataSet.update()
voidupdate(Histogram2DData data)
Another way to override Histogram2DData.update()
voidupdate(HistogramData data)
Another way to override HistogramData.update()
voidupdate(StatisticsContinuous statistics)
Another way to override StatisticsContinuous.update()
voidupdate(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 Details

DataUpdater_xjal

public DataUpdater_xjal()

Method Details

update

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

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:

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()