org.gscg.singleuser.interactionlayer.business
Class ProductComparator

java.lang.Object
  extended byorg.gscg.singleuser.interactionlayer.business.ProductComparator
All Implemented Interfaces:
java.util.Comparator, java.io.Serializable

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

A comparator to put products in an alfabetical order.

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 is proprietary information of Delft University of Technology.

Since:
1.1.0
Version:
$Revision: 1.1 $ $Date: 2005/06/16 12:34:08 $
Author:
Stijn-Pieter van Houten
See Also:
Serialized Form

Constructor Summary
ProductComparator()
          constructs a new ProductComparator
 
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

ProductComparator

public ProductComparator()
constructs a new ProductComparator

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.