Documentation of 'info.monitorenter.gui.chart.traces.Trace2DReplacing' Java class
Trace2DReplacing
info.monitorenter.gui.chart.traces

Class Trace2DReplacing

  • All Implemented Interfaces:
    ITrace2D, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Comparable<ITrace2D>, java.util.EventListener


    public class Trace2DReplacing
    extends Trace2DSimple
    Has the behavior of Trace2DBijective and additional features.

    • All tracepoints that are added are stored unchanged in a LinkedList.
    • All traceoints added whose x- values are not already contained are added to the end.
    • If a tracepoint is inserted whose x - value already exists in the List, the old tracepoint with that value will be replaced by the new tracepoint.

    See Also:
    Trace2DBijective, Serialized Form
    • Constructor Detail

      • Trace2DReplacing

        public Trace2DReplacing()
        Defcon.
    • Method Detail

      • addPointInternal

        public boolean addPointInternal(ITracePoint2D p)
        In case p has an x- value already contained, the old tracepoint with that value will be replaced by the new one. Else the new tracepoint will be added to the end, not caring wether tracepoints with a higher x- value are contained.

        Parameters:
        p - the point to add.
        Returns:
        true if the point wathe maximum amount of points that will be showns successfully added.
        See Also:
        ATrace2D.addPointInternal(info.monitorenter.gui.chart.ITracePoint2D)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.