com.atlassian.jira.issue.attachment
Class AttachmentCreationDateComparator

java.lang.Object
  extended by com.atlassian.jira.issue.attachment.AttachmentCreationDateComparator
All Implemented Interfaces:
Comparator<Attachment>

public class AttachmentCreationDateComparator
extends Object
implements Comparator<Attachment>

Attachment Comparator based on creation date in ascending order

Since:
v4.2

Constructor Summary
AttachmentCreationDateComparator()
           
 
Method Summary
 int compare(Attachment attachment1, Attachment attachment2)
           
 
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
 

Constructor Detail

AttachmentCreationDateComparator

public AttachmentCreationDateComparator()
Method Detail

compare

public int compare(Attachment attachment1,
                   Attachment attachment2)
Specified by:
compare in interface Comparator<Attachment>


Copyright © 2002-2013 Atlassian. All Rights Reserved.