LiveGraph
data visualisation and analysis framework

org.LiveGraph.plot
Class Plotter.PointsByIndexComparator

java.lang.Object
  extended by org.LiveGraph.plot.Plotter.PointsByIndexComparator
All Implemented Interfaces:
java.util.Comparator<Plotter.MutableInt>
Enclosing class:
Plotter

private class Plotter.PointsByIndexComparator
extends java.lang.Object
implements java.util.Comparator<Plotter.MutableInt>

Used in order to compare points referenced by their index in Plotter.SeriesScreenData.points; the comparison is by x-xoordinates.


Field Summary
private  Plotter.SeriesScreenData series
           
 
Constructor Summary
private Plotter.PointsByIndexComparator()
           
 
Method Summary
 int compare(Plotter.MutableInt pi1, Plotter.MutableInt pi2)
           
(package private)  void setSeries(Plotter.SeriesScreenData series)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

series

private Plotter.SeriesScreenData series
Constructor Detail

Plotter.PointsByIndexComparator

private Plotter.PointsByIndexComparator()
Method Detail

setSeries

void setSeries(Plotter.SeriesScreenData series)

compare

public int compare(Plotter.MutableInt pi1,
                   Plotter.MutableInt pi2)
Specified by:
compare in interface java.util.Comparator<Plotter.MutableInt>

LiveGraph
data visualisation and analysis framework