Class TopKFrequentWords.WordCount

java.lang.Object
org.drip.sample.algo.TopKFrequentWords.WordCount
All Implemented Interfaces:
java.util.Comparator<TopKFrequentWords.WordCount>
Enclosing class:
TopKFrequentWords

public static class TopKFrequentWords.WordCount
extends java.lang.Object
implements java.util.Comparator<TopKFrequentWords.WordCount>
WordCount implements the Word Count Duo.
  • Constructor Summary

    Constructors
    Constructor Description
    WordCount()  
  • Method Summary

    Modifier and Type Method Description
    int compare​(TopKFrequentWords.WordCount wordCount1, TopKFrequentWords.WordCount wordCount2)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Comparator

    equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong