Bruce Eckel 49edcc8b17 reorg
2015-06-15 17:47:35 -07:00

17 lines
414 B
Java

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