Interface Abbreviations

All Superinterfaces:
Dictionary

public interface Abbreviations extends Dictionary
A dictionary interface for abbreviations.
  • Method Details

    • getFull

      String getFull(String abbr)
      Returns the full word of an abbreviation. If the abbreviation doesn't exist in the dictionary return null.
      Parameters:
      abbr - the abbreviation.
      Returns:
      the full word of abbreviation or null.
    • getAbbreviation

      String getAbbreviation(String word)
      Returns the abbreviation for a word. If the word doesn't exist in the dictionary return null.
      Parameters:
      word - the query word.
      Returns:
      the abbreviation or null.