com.atlassian.jira.issue.comparator
Class NullFieldComparator
java.lang.Object
com.atlassian.jira.issue.comparator.NullFieldComparator
- All Implemented Interfaces:
- java.util.Comparator
- public class NullFieldComparator
- extends java.lang.Object
- implements java.util.Comparator
This comparator just checks for the existance of a field - it does not actually use it. Only works for GenericValue Issue Objects.
This is to fix JRA-1305 (sort by resolution first in the road map). However, we don't want to just sort
by the field, but rather sort by the existance of the field.
Method Summary |
int |
compare(java.lang.Object o1,
java.lang.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 |
NullFieldComparator
public NullFieldComparator(java.lang.String fieldName)
compare
public int compare(java.lang.Object o1,
java.lang.Object o2)
- Specified by:
compare
in interface java.util.Comparator
Copyright © 2002-2005 Atlassian. All Rights Reserved.