org.dllearner.utilities.datastructures
Class StringTuple

java.lang.Object
  extended by org.dllearner.utilities.datastructures.StringTuple
All Implemented Interfaces:
Comparable<StringTuple>

public class StringTuple
extends Object
implements Comparable<StringTuple>

A container which can hold two Strings, mainly used as a helper. Also used as pre form, if you want to create triple, that have the same subject

Author:
Sebastian Hellmann

Field Summary
 String a
           
 String b
           
 
Constructor Summary
StringTuple(String a, String b)
           
 
Method Summary
 int compareTo(StringTuple t)
           
 boolean equals(StringTuple t)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

a

public String a

b

public String b
Constructor Detail

StringTuple

public StringTuple(String a,
                   String b)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(StringTuple t)

compareTo

public int compareTo(StringTuple t)
Specified by:
compareTo in interface Comparable<StringTuple>


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann