-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathX_test.java
More file actions
67 lines (48 loc) · 898 Bytes
/
X_test.java
File metadata and controls
67 lines (48 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
package Individual_Project;
import java.util.ArrayList;
/**
* The class X_test
*/
public class X_test {
private double long_value;
static ArrayList<X_test> X_tests = new ArrayList<X_test>();
/**
*
* It is a constructor.
*
* @param long_value the long_value
*/
public X_test(double long_value) {
this.long_value = long_value;
}
/**
*
* Getlong_value
*
* @return the long_value
*/
public double getlong_value() {
return long_value;
}
/**
*
* Setlong_value
*
* @param long_value the long_value
*/
public void setlong_value(double long_value) {
this.long_value = long_value;
}
@Override
/**
*
* To string
*
* @return String
*/
public String toString() {
double initial = long_value;
String final_string=String.valueOf(initial);
return final_string;
}
}