com.atlassian.plugin.web.descriptors
Class WeightedDescriptorComparator

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

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


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.