se.lth.cs.nlp.nlputils.core
Class ByLeft<T1 extends Comparable<? super T1>,T2>
java.lang.Object
  
se.lth.cs.nlp.nlputils.core.ByLeft<T1,T2>
- All Implemented Interfaces: 
 - Comparator<Pair<T1,T2>>
 
public class ByLeft<T1 extends Comparable<? super T1>,T2>
- extends Object
- implements Comparator<Pair<T1,T2>>
  
A comparator that compares the left element of a pair.
- Author:
 
  - Richard Johansson (richard@cs.lth.se)
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
ByLeft
public ByLeft()
compare
public int compare(Pair<T1,T2> p1,
                   Pair<T1,T2> p2)
- Specified by:
 compare in interface Comparator<Pair<T1 extends Comparable<? super T1>,T2>>