org.whattf.datatype.data
Class LanguageData.StringPair

java.lang.Object
  extended by org.whattf.datatype.data.LanguageData.StringPair
All Implemented Interfaces:
Comparable
Enclosing class:
LanguageData

private class LanguageData.StringPair
extends Object
implements Comparable


Field Summary
private  String main
           
private  Object other
           
 
Constructor Summary
LanguageData.StringPair(String main, Object other)
           
 
Method Summary
 int compareTo(Object arg0)
           
 boolean equals(Object arg0)
           
 String getMain()
          Returns the main.
 Object getOther()
          Returns the other.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

main

private String main

other

private Object other
Constructor Detail

LanguageData.StringPair

public LanguageData.StringPair(String main,
                               Object other)
Parameters:
main -
other -
Method Detail

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)