16 lines
378 B
Java
16 lines
378 B
Java
//: com/mindviewinc/util/ThreeTuple.java
|
|
// ©2015 MindView LLC: see Copyright.txt
|
|
package com.mindviewinc.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;
|
|
}
|
|
@Override
|
|
public String toString() {
|
|
return "(" + first + ", " + second + ", " + third +")";
|
|
}
|
|
} ///:~
|