opennlp.leo.regulus.tug.tiddle
Class StringPair

java.lang.Object
  |
  +--opennlp.leo.regulus.tug.tiddle.StringPair
All Implemented Interfaces:
java.lang.Comparable

public class StringPair
extends java.lang.Object
implements java.lang.Comparable


Field Summary
 java.lang.String a
           
 java.lang.String b
           
 
Constructor Summary
StringPair(java.lang.String _a, java.lang.String _b)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

a

public java.lang.String a

b

public java.lang.String b
Constructor Detail

StringPair

public StringPair(java.lang.String _a,
                  java.lang.String _b)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2002 Research Institute for Advanced Computer Science. All Rights Reserved.