com.atlassian.jira.issue.comments
Class CommentComparator

java.lang.Object
  extended by com.atlassian.jira.issue.comments.CommentComparator
All Implemented Interfaces:
Serializable, Comparator<Comment>

public class CommentComparator
extends Object
implements Comparator<Comment>, Serializable

Compares Comments based on date created.

See Also:
Serialized Form

Field Summary
static Comparator<Comment> COMPARATOR
          Comparator for sorting comments based on creation date.
 
Method Summary
 int compare(Comment o1, Comment 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
 

Field Detail

COMPARATOR

public static final Comparator<Comment> COMPARATOR
Comparator for sorting comments based on creation date.

Method Detail

compare

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.