This project has retired. For details please refer to its
Attic page.
Aggregate.PairValueComparator (Apache Crunch 0.9.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>>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 © 2014 The Apache Software Foundation. All Rights Reserved.