projects
/
iot2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Phone app (based on Ali's Control for iotcloud benchmark) to control alarm in the...
[iot2.git]
/
benchmarks
/
other
/
PhoneInterface
/
Control
/
app
/
src
/
main
/
java
/
iotcloud
/
ThreeTuple.java
1
package iotcloud;
2
3
class ThreeTuple<A, B, C> {
4
private A a;
5
private B b;
6
private C c;
7
8
ThreeTuple(A a, B b, C c) {
9
this.a = a;
10
this.b = b;
11
this.c = c;
12
}
13
14
A getFirst() {
15
return a;
16
}
17
18
B getSecond() {
19
return b;
20
}
21
22
C getThird() {
23
return c;
24
}
25
26
public String toString() {
27
return "<" + a + "," + b + "," + c + ">";
28
}
29
}