com.atlassian.plugin.web.descriptors
Class WeightedDescriptorComparator

java.lang.Object
  extended by com.atlassian.plugin.web.descriptors.WeightedDescriptorComparator
All Implemented Interfaces:
Comparator<WeightedDescriptor>

public class WeightedDescriptorComparator
extends Object
implements Comparator<WeightedDescriptor>

A simple comparator for any weighted descriptor - lowest weights first.


Constructor Summary
WeightedDescriptorComparator()
           
 
Method Summary
 int compare(WeightedDescriptor w1, WeightedDescriptor w2)
           
 
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

WeightedDescriptorComparator

public WeightedDescriptorComparator()
Method Detail

compare

public int compare(WeightedDescriptor w1,
                   WeightedDescriptor w2)
Specified by:
compare in interface Comparator<WeightedDescriptor>


Copyright © 2010 Atlassian. All Rights Reserved.