18 lines
438 B
Java
18 lines
438 B
Java
|
//: com/mindviewinc/util/FiveTuple.java
|
|||
|
// <20>2015 MindView LLC: see Copyright.txt
|
|||
|
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 + ")";
|
|||
|
}
|
|||
|
} ///:~
|