org.eclipse.egit.github.core.util
Class LabelComparator

java.lang.Object
  extended by org.eclipse.egit.github.core.util.LabelComparator
All Implemented Interfaces:
Serializable, Comparator<Label>

public class LabelComparator
extends Object
implements Comparator<Label>, Serializable

Label comparator using case-insensitive name comparisons.

See Also:
Serialized Form

Constructor Summary
LabelComparator()
           
 
Method Summary
 int compare(Label label1, Label label2)
           
 
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

LabelComparator

public LabelComparator()
Method Detail

compare

public int compare(Label label1,
                   Label label2)
Specified by:
compare in interface Comparator<Label>
See Also:
Comparator.compare(java.lang.Object, java.lang.Object)


Copyright © 2012. All Rights Reserved.