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