public class DictionaryEntry extends java.lang.Object implements java.lang.Comparable<DictionaryEntry>
Constructor and Description |
---|
DictionaryEntry(java.lang.String word,
java.lang.String article) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DictionaryEntry o) |
java.lang.String |
getArticle() |
java.lang.String |
getWord() |
public DictionaryEntry(java.lang.String word, java.lang.String article)
public java.lang.String getWord()
public java.lang.String getArticle()
public int compareTo(DictionaryEntry o)
compareTo
in interface java.lang.Comparable<DictionaryEntry>