com.atlassian.jira.issue.comments
Class CommentComparator

java.lang.Object
  extended bycom.atlassian.jira.issue.comments.CommentComparator
All Implemented Interfaces:
Comparator, Serializable

public class CommentComparator
extends Object
implements Comparator, Serializable

Compares Comments based on date created.

See Also:
Serialized Form

Field Summary
static Comparator COMPARATOR
          Comparator for sorting comments based on creation date.
(package private) static long serialVersionUID
           
 
Method Summary
 int compare(Object o1, Object 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

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

COMPARATOR

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

Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator


Copyright © 2002-2007 Atlassian. All Rights Reserved.