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