com.atlassian.jira.bc.project.component
Class ProjectComponentComparator

java.lang.Object
  extended by com.atlassian.jira.bc.project.component.ProjectComponentComparator
All Implemented Interfaces:
Comparator

public class ProjectComponentComparator
extends Object
implements Comparator

Comparator for ProjectComponent objects, singleton, use static instance.


Field Summary
static ProjectComponentComparator INSTANCE
          Compares two ProjectComponents, grouping them by project and then by case-insensitive component name.
 
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

INSTANCE

public static final ProjectComponentComparator INSTANCE
Compares two ProjectComponents, grouping them by project and then by case-insensitive component name.

Method Detail

compare

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


Copyright © 2002-2008 Atlassian. All Rights Reserved.