public class Translation extends Object implements Serializable
Constructor and Description |
---|
Translation()
Constructor.
|
Translation(String headWord,
String[] targetWords)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object value) |
String |
getHeadWord()
Gets headword.
|
String[] |
getTargetWords()
Gets the array of the bilingual translation.
|
int |
hashCode() |
void |
setHeadWord(String headWord)
Sets headword.
|
void |
setTargetWords(String[] targetWords)
Sets the array of the bilingual translation.
|
String |
toString() |
public String getHeadWord()
public void setHeadWord(String headWord)
headWord
- Headingpublic String[] getTargetWords()
public void setTargetWords(String[] targetWords)
targetWords
- Array of bilingual translation