org.whattf.datatype.data
Class LanguageData.StringPair
java.lang.Object
org.whattf.datatype.data.LanguageData.StringPair
- All Implemented Interfaces:
- Comparable
- Enclosing class:
- LanguageData
private class LanguageData.StringPair
- extends Object
- implements Comparable
main
private String main
other
private Object other
LanguageData.StringPair
public LanguageData.StringPair(String main,
Object other)
- Parameters:
main
- other
-
getMain
public String getMain()
- Returns the main.
- Returns:
- the main
getOther
public Object getOther()
- Returns the other.
- Returns:
- the other
equals
public boolean equals(Object arg0)
- Overrides:
equals
in class Object
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
- See Also:
Object.hashCode()
compareTo
public int compareTo(Object arg0)
- Specified by:
compareTo
in interface Comparable
- See Also:
Comparable.compareTo(java.lang.Object)