public class LanguagePair extends Object implements Serializable
Constructor and Description |
---|
LanguagePair()
Constructor.
|
LanguagePair(String first,
String second)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object value) |
String |
getFirst()
Returns the first language.
|
String |
getSecond()
Returns the second language.
|
int |
hashCode() |
void |
setFirst(String first)
Sets the first language.
|
void |
setSecond(String second)
Sets the second language.
|
String |
toString() |
public String getFirst()
public void setFirst(String first)
first
- First languagepublic String getSecond()
public void setSecond(String second)
second
- Second language