public class AccumulationStrategyByPass extends AAccumulationStrategy
source
argument is returned from it's method
iterator(ITrace2D, int).
IAccumulationStrategy.AccumulationControlConsecutivePoints, IAccumulationStrategy.IAccumulationControlm_propertyChangeSupport, PROPERTY_ACCUMULATION_FUNCTION| Constructor and Description |
|---|
AccumulationStrategyByPass(IAccumulationFunction accumulationFunction)
Constructor taking the accumulation function to use.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<ITracePoint2D> |
iterator(ITrace2D source,
int amountOfPoints)
Template method to return an iterator over accumulated points.
|
addPropertyChangeListener, firePropertyChange, getAccumulationFunction, removePropertyChangeListener, removePropertyChangeListener, setAccumulationFunctionpublic AccumulationStrategyByPass(IAccumulationFunction accumulationFunction)
accumulationFunction - the accumulation function to use.public Iterator<ITracePoint2D> iterator(ITrace2D source, int amountOfPoints)
IAccumulationStrategyiterator in interface IAccumulationStrategyiterator in class AAccumulationStrategysource - the real points of this trace.amountOfPoints - would allow to filter out points to accumulate by just taking n
consecutive trace points.AAccumulationStrategy.iterator(info.monitorenter.gui.chart.ITrace2D, int)Copyright © 2017. All rights reserved.