2015-09-07 11:44:36 -06:00
|
|
|
|
// com/mindviewinc/util/ThreeTuple.java
|
2015-06-15 17:47:35 -07:00
|
|
|
|
// <20>2015 MindView LLC: see Copyright.txt
|
|
|
|
|
package com.mindviewinc.util;
|
|
|
|
|
|
2015-09-07 11:44:36 -06:00
|
|
|
|
public class ThreeTuple<A,B,C> extends TwoTuple<A, B> {
|
2015-06-15 17:47:35 -07:00
|
|
|
|
public final C third;
|
|
|
|
|
public ThreeTuple(A a, B b, C c) {
|
|
|
|
|
super(a, b);
|
|
|
|
|
third = c;
|
|
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
public String toString() {
|
|
|
|
|
return "(" + first + ", " + second + ", " + third +")";
|
|
|
|
|
}
|
2015-09-07 11:44:36 -06:00
|
|
|
|
}
|