com.atlassian.greenhopper.service.hierarchy
Class TreeNodeComparator<T>

java.lang.Object
  extended by com.atlassian.greenhopper.util.AbstractComparator<TreeNode<T>>
      extended by com.atlassian.greenhopper.service.hierarchy.TreeNodeComparator<T>
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<TreeNode<T>>

public class TreeNodeComparator<T>
extends AbstractComparator<TreeNode<T>>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.greenhopper.util.AbstractComparator
AbstractComparator.Result
 
Constructor Summary
TreeNodeComparator(java.util.Comparator<T> comp)
           
 
Method Summary
protected  AbstractComparator.Result doCompare(TreeNode<T> one, TreeNode<T> other)
           
 
Methods inherited from class com.atlassian.greenhopper.util.AbstractComparator
compare, nullCheck
 
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

TreeNodeComparator

public TreeNodeComparator(java.util.Comparator<T> comp)
Method Detail

doCompare

protected AbstractComparator.Result doCompare(TreeNode<T> one,
                                              TreeNode<T> other)
Specified by:
doCompare in class AbstractComparator<TreeNode<T>>


Copyright © 2007-2011 Atlassian. All Rights Reserved.