This project has retired. For details please refer to its
Attic page.
Aggregate.PairValueComparator (Apache Crunch 0.7.0 API)
org.apache.crunch.lib
Class Aggregate.PairValueComparator<K,V>
java.lang.Object
org.apache.crunch.lib.Aggregate.PairValueComparator<K,V>
- All Implemented Interfaces:
- Comparator<Pair<K,V>>
- Enclosing class:
- Aggregate
public static class Aggregate.PairValueComparator<K,V>
- extends Object
- implements Comparator<Pair<K,V>>
Aggregate.PairValueComparator
public Aggregate.PairValueComparator(boolean ascending)
compare
public int compare(Pair<K,V> left,
Pair<K,V> right)
- Specified by:
compare
in interface Comparator<Pair<K,V>>
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.