com.silverpeas.comment.dao
Class CommentedPublicationInfoComparator

java.lang.Object
  extended by com.silverpeas.comment.dao.CommentedPublicationInfoComparator
All Implemented Interfaces:
Comparator<CommentedPublicationInfo>

public class CommentedPublicationInfoComparator
extends Object
implements Comparator<CommentedPublicationInfo>

A comparator of commented publication information instances. The comparator compares two commented publications by their number of comments.


Constructor Summary
CommentedPublicationInfoComparator()
           
 
Method Summary
 int compare(CommentedPublicationInfo o1, CommentedPublicationInfo 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

CommentedPublicationInfoComparator

public CommentedPublicationInfoComparator()
Method Detail

compare

public int compare(CommentedPublicationInfo o1,
                   CommentedPublicationInfo o2)
Specified by:
compare in interface Comparator<CommentedPublicationInfo>


Copyright © 2016 Silverpeas. All Rights Reserved.