projects
/
iotcloud.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of ssh://plrg.eecs.uci.edu/home/git/iotcloud
[iotcloud.git]
/
src
/
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
}