2015-04-20 15:36:01 -07:00
|
|
|
//: net/mindview/util/FourTuple.java
|
|
|
|
package net.mindview.util;
|
|
|
|
|
|
|
|
public class FourTuple<A,B,C,D> extends ThreeTuple<A,B,C> {
|
|
|
|
public final D fourth;
|
|
|
|
public FourTuple(A a, B b, C c, D d) {
|
|
|
|
super(a, b, c);
|
|
|
|
fourth = d;
|
|
|
|
}
|
2015-05-05 11:20:13 -07:00
|
|
|
@Override
|
2015-04-20 15:36:01 -07:00
|
|
|
public String toString() {
|
|
|
|
return "(" + first + ", " + second + ", " +
|
|
|
|
third + ", " + fourth + ")";
|
|
|
|
}
|
|
|
|
} ///:~
|