org.gscg.common.gui.statistics.components
Class XYSeriesComparator

java.lang.Object
  extended byorg.gscg.common.gui.statistics.components.XYSeriesComparator
All Implemented Interfaces:
java.util.Comparator, java.io.Serializable

public class XYSeriesComparator
extends java.lang.Object
implements java.util.Comparator, java.io.Serializable

The XYSeriesComparator compares XYSeries based on their name and sorts them in alfabetical order.

(c) copyright 2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software are proprietary information of Delft University of Technology.

Since:
1.1.3
Version:
$Revision: 1.1 $ $Date: 2005/06/16 12:33:54 $
Author:
Stijn-Pieter van Houten
See Also:
Serialized Form

Constructor Summary
XYSeriesComparator()
          constructs a new XYSeriesComparator
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
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
 

Constructor Detail

XYSeriesComparator

public XYSeriesComparator()
constructs a new XYSeriesComparator

Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator
See Also:
Comparator.compare(java.lang.Object, java.lang.Object)


Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.