se.lth.cs.nlp.nlputils.core
Class ByRight<T1,T2 extends Comparable<? super T2>>
java.lang.Object
   se.lth.cs.nlp.nlputils.core.ByRight<T1,T2>
se.lth.cs.nlp.nlputils.core.ByRight<T1,T2>
- All Implemented Interfaces: 
- Comparator<Pair<T1,T2>>
- public class ByRight<T1,T2 extends Comparable<? super T2>> 
- extends Object- implements Comparator<Pair<T1,T2>>
A comparator that compares the right 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 | 
 
 
ByRight
public ByRight()
compare
public int compare(Pair<T1,T2> p1,
                   Pair<T1,T2> p2)
- 
- Specified by:
- comparein interface- Comparator<Pair<T1,T2 extends Comparable<? super T2>>>
 
-