Added a Quad toString() method.

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1603 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
chartl 2009-09-13 01:13:57 +00:00
parent 2e237a12e9
commit b353bd6f81
1 changed files with 5 additions and 0 deletions

View File

@ -53,6 +53,11 @@ public class Quad<W,X,Y,Z> {
return getHash(first) ^ getHash(second) ^ getHash(third) ^ getHash(fourth);
}
public String toString() {
return String.format("(%s, %s, %s, %s)", first.toString(), second.toString(),
third.toString(), fourth.toString());
}
public W getFirst() { return first; }
public X getSecond() { return second; }
public Y getThird() { return third; }