Class PairComparer<S,​T>

java.lang.Object
org.approvaltests.hadoop.PairComparer<S,​T>
All Implemented Interfaces:
Comparator<org.apache.hadoop.mrunit.types.Pair<S,​T>>

public class PairComparer<S,​T>
extends Object
implements Comparator<org.apache.hadoop.mrunit.types.Pair<S,​T>>
  • Field Details

  • Constructor Details

    • PairComparer

      public PairComparer()
  • Method Details

    • compare

      public int compare​(org.apache.hadoop.mrunit.types.Pair<S,​T> o1, org.apache.hadoop.mrunit.types.Pair<S,​T> o2)
      Specified by:
      compare in interface Comparator<S>