Class EDGARTop10Documents.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.Long>>
    Enclosing class:
    EDGARTop10Documents

    public static final class EDGARTop10Documents.ValueComparator<K>
    extends java.lang.Object
    implements java.util.Comparator<org.apache.beam.sdk.values.KV<K,​java.lang.Long>>, java.io.Serializable
    Value comparator comparing the long 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.Long> o1, org.apache.beam.sdk.values.KV<K,​java.lang.Long> 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.Long> o1,
                           org.apache.beam.sdk.values.KV<K,​java.lang.Long> o2)
        Specified by:
        compare in interface java.util.Comparator<K>