projects
/
IRC.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
adding a test case
[IRC.git]
/
Robust
/
src
/
Benchmarks
/
oooJava
/
voronoi
/
MyDouble.java
1
/**
2
* A class that represents a wrapper around a double value so that we can use it
3
* as an 'out' parameter. The java.lang.Double class is immutable.
4
**/
5
public class MyDouble {
6
public double value;
7
8
MyDouble(double d) {
9
value = d;
10
}
11
12
public String toString() {
13
return Double.toString(value);
14
}
15
}