Interface Dictionary

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean search​(String word)
      Returns whether the supplied word exists in the dictionary.
      long size()
      Returns the number of words in this dictionary
    • Method Detail

      • search

        boolean search​(String word)
        Returns whether the supplied word exists in the dictionary.
        Parameters:
        word - to search for
        Returns:
        whether word was found
      • size

        long size()
        Returns the number of words in this dictionary
        Returns:
        total number of words to search