org.dllearner.utilities.datastructures
Class StringTuple
java.lang.Object
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
a
public String a
b
public String b
StringTuple
public StringTuple(String a,
String b)
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>
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann