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:
parent
2e237a12e9
commit
b353bd6f81
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue