2015-04-20 15:36:01 -07:00
|
|
|
|
//: net/mindview/util/TwoTuple.java
|
2015-05-29 14:18:51 -07:00
|
|
|
|
// <20>2015 MindView LLC: see Copyright.txt
|
2015-04-20 15:36:01 -07:00
|
|
|
|
package net.mindview.util;
|
|
|
|
|
|
|
|
|
|
public class TwoTuple<A,B> {
|
|
|
|
|
public final A first;
|
|
|
|
|
public final B second;
|
|
|
|
|
public TwoTuple(A a, B b) { first = a; second = b; }
|
2015-05-05 11:20:13 -07:00
|
|
|
|
@Override
|
2015-04-20 15:36:01 -07:00
|
|
|
|
public String toString() {
|
|
|
|
|
return "(" + first + ", " + second + ")";
|
|
|
|
|
}
|
|
|
|
|
} ///:~
|