org.esupportail.portal.channels.CIntranet.beans
Class DocumentDescriptionComparator

java.lang.Object
  extended byorg.esupportail.portal.channels.CIntranet.beans.DocumentDescriptionComparator
All Implemented Interfaces:
java.util.Comparator

public class DocumentDescriptionComparator
extends java.lang.Object
implements java.util.Comparator

DocumentDescriptionComparator

Cette classe prend en compte le tri des documents en fonction de la description

(c)Copyright ESup-Portail 2004

Version:
$Revision: 1.1.2.1 $
Author:
Mathieu Larchet

Constructor Summary
DocumentDescriptionComparator()
          Constructeur
 
Method Summary
 int compare(java.lang.Object o0, java.lang.Object o1)
          Compare deux documents en fonction de la description Implements Comparator.compare() method
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

DocumentDescriptionComparator

public DocumentDescriptionComparator()
Constructeur

Method Detail

compare

public int compare(java.lang.Object o0,
                   java.lang.Object o1)
Compare deux documents en fonction de la description Implements Comparator.compare() method

Specified by:
compare in interface java.util.Comparator
Parameters:
o0 - Le premier document
o1 - Le deuxième document
Returns:
diff