16 lines
379 B
Java
16 lines
379 B
Java
|
//: net/mindview/util/FiveTuple.java
|
||
|
package net.mindview.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;
|
||
|
}
|
||
|
public String toString() {
|
||
|
return "(" + first + ", " + second + ", " +
|
||
|
third + ", " + fourth + ", " + fifth + ")";
|
||
|
}
|
||
|
} ///:~
|