com.silverpeas.comment.dao
Class CommentedPublicationInfoComparator
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommentedPublicationInfoComparator
public CommentedPublicationInfoComparator()
compare
public int compare(CommentedPublicationInfo o1,
CommentedPublicationInfo o2)
- Specified by:
compare
in interface Comparator<CommentedPublicationInfo>
Copyright © 2016 Silverpeas. All Rights Reserved.