org.apache.hadoop.mrunit.types
Class Pair.FirstElemComparator

java.lang.Object
  extended by org.apache.hadoop.mrunit.types.Pair.FirstElemComparator
All Implemented Interfaces:
Comparator<Pair<S,T>>
Enclosing class:
Pair<S,T>

public class Pair.FirstElemComparator
extends Object
implements Comparator<Pair<S,T>>


Constructor Summary
Pair.FirstElemComparator()
           
 
Method Summary
 int compare(Pair<S,T> p1, Pair<S,T> p2)
           
 
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

Pair.FirstElemComparator

public Pair.FirstElemComparator()
Method Detail

compare

public int compare(Pair<S,T> p1,
                   Pair<S,T> p2)
Specified by:
compare in interface Comparator<Pair<S,T>>


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.