2015-11-03 12:00:44 -08:00

17 lines
397 B
Java

// com/mindviewinc/util/FiveTuple.java
package com.mindviewinc.util;
public class FiveTuple<A, B, C, D, E>
extends FourTuple<A, B, C, D> {
public final E fifth;
public FiveTuple(A a, B b, C c, D d, E e) {
super(a, b, c, d);
fifth = e;
}
@Override
public String toString() {
return "(" + first + ", " + second + ", " +
third + ", " + fourth + ", " + fifth + ")";
}
}