com.atlassian.jira.issue.attachment
Class AttachmentCreationDateComparator

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

public class AttachmentCreationDateComparator
extends java.lang.Object
implements java.util.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 java.util.Comparator<Attachment>


Copyright © 2002-2010 Atlassian. All Rights Reserved.