Initial commit of code for new version of block chain, does not compile (had to go...
[iotcloud.git] / src2 / java / iotcloud / Pair.java
1 package iotcloud;
2
3 class Pair<A,B> {
4         private A a;
5         private B b;
6
7         Pair(A a, B b) {
8                 this.a=a;
9                 this.b=b;
10         }
11
12         A getFirst() {
13                 return a;
14         }
15
16         B getSecond() {
17                 return b;
18         }
19
20         public String toString() {
21                 return "<"+a+","+b+">";
22         }
23 }