17 lines
373 B
Java
Raw Normal View History

2015-09-07 11:44:36 -06:00
// com/mindviewinc/util/FourTuple.java
2015-06-15 17:47:35 -07:00
package com.mindviewinc.util;
2015-09-07 11:44:36 -06:00
public class FourTuple<A, B, C, D>
extends ThreeTuple<A, B, C> {
2015-06-15 17:47:35 -07:00
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 + ")";
}
2015-09-07 11:44:36 -06:00
}