public class

CommentComparator

extends Object
implements Serializable Comparator<T>
java.lang.Object
   ↳ com.atlassian.jira.issue.comments.CommentComparator

Class Overview

Compares Comments based on date created.

Summary

Fields
public static final Comparator<Comment> COMPARATOR Comparator for sorting comments based on creation date.
Public Methods
int compare(Comment o1, Comment o2)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Comparator

Fields

public static final Comparator<Comment> COMPARATOR

Comparator for sorting comments based on creation date.

Public Methods

public int compare (Comment o1, Comment o2)