Class EDGARTop10BadRefererDocs.ValueComparator<K>

  • Type Parameters:
    K - the key type.
    All Implemented Interfaces:
    java.io.Serializable, java.util.Comparator<org.apache.beam.sdk.values.KV<K,​java.lang.Double>>
    Enclosing class:
    EDGARTop10BadRefererDocs

    public static final class EDGARTop10BadRefererDocs.ValueComparator<K>
    extends java.lang.Object
    implements java.util.Comparator<org.apache.beam.sdk.values.KV<K,​java.lang.Double>>, java.io.Serializable
    Value comparator comparing the double value.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ValueComparator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(org.apache.beam.sdk.values.KV<K,​java.lang.Double> o1, org.apache.beam.sdk.values.KV<K,​java.lang.Double> o2)  
      • 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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • ValueComparator

        public ValueComparator()
    • Method Detail

      • compare

        public int compare​(org.apache.beam.sdk.values.KV<K,​java.lang.Double> o1,
                           org.apache.beam.sdk.values.KV<K,​java.lang.Double> o2)
        Specified by:
        compare in interface java.util.Comparator<K>