Class SuggestWordQueue

    • Constructor Detail

      • SuggestWordQueue

        public SuggestWordQueue​(int size)
        Parameters:
        size - The size of the queue
      • SuggestWordQueue

        public SuggestWordQueue​(int size,
                                java.util.Comparator<SuggestWord> comparator)
        Specify the size of the queue and the comparator to use for sorting.
        Parameters:
        size - The size
        comparator - The comparator.