com.atlassian.confluence.plugins.like
Class LikesSorter
java.lang.Object
com.atlassian.confluence.plugins.like.LikesSorter
public class LikesSorter
- extends Object
Sorts a collection of likes - moving likes from followees higher.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LikesSorter
public LikesSorter()
sort
public List<Like> sort(Collection<Like> likes,
Set<String> followees)
- Returns a sorted list of likes.
- Parameters:
likes
- the likesfollowees
- a set of usernames the current user is following
- Returns:
- a sorted list of likes.
Copyright © 2003-2013 Atlassian. All Rights Reserved.