1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package vamsas.objects.simple; |
22 |
|
|
|
|
| 0% |
Uncovered Elements: 43 (43) |
Complexity: 12 |
Complexity Density: 0.48 |
|
23 |
|
public class Secstructpred implements java.io.Serializable |
24 |
|
{ |
25 |
|
private java.lang.String output; |
26 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
27 |
0 |
public Secstructpred()... |
28 |
|
{ |
29 |
|
} |
30 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
31 |
0 |
public Secstructpred(java.lang.String output)... |
32 |
|
{ |
33 |
0 |
this.output = output; |
34 |
|
} |
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
@return |
40 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
41 |
0 |
public java.lang.String getOutput()... |
42 |
|
{ |
43 |
0 |
return output; |
44 |
|
} |
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
@param |
50 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
0 |
public void setOutput(java.lang.String output)... |
52 |
|
{ |
53 |
0 |
this.output = output; |
54 |
|
} |
55 |
|
|
56 |
|
private java.lang.Object __equalsCalc = null; |
57 |
|
|
|
|
| 0% |
Uncovered Elements: 22 (22) |
Complexity: 5 |
Complexity Density: 0.36 |
|
58 |
0 |
public synchronized boolean equals(java.lang.Object obj)... |
59 |
|
{ |
60 |
0 |
if (obj == null) |
61 |
|
{ |
62 |
0 |
return false; |
63 |
|
} |
64 |
0 |
if (!(obj instanceof Secstructpred)) |
65 |
|
{ |
66 |
0 |
return false; |
67 |
|
} |
68 |
0 |
Secstructpred other = (Secstructpred) obj; |
69 |
0 |
if (this == obj) |
70 |
|
{ |
71 |
0 |
return true; |
72 |
|
} |
73 |
0 |
if (__equalsCalc != null) |
74 |
|
{ |
75 |
0 |
return (__equalsCalc == obj); |
76 |
|
} |
77 |
0 |
__equalsCalc = obj; |
78 |
0 |
boolean _equals; |
79 |
0 |
_equals = true && ((this.output == null && other.getOutput() == null) |
80 |
|
|| (this.output != null |
81 |
|
&& this.output.equals(other.getOutput()))); |
82 |
0 |
__equalsCalc = null; |
83 |
0 |
return _equals; |
84 |
|
} |
85 |
|
|
86 |
|
private boolean __hashCodeCalc = false; |
87 |
|
|
|
|
| 0% |
Uncovered Elements: 12 (12) |
Complexity: 3 |
Complexity Density: 0.38 |
|
88 |
0 |
public synchronized int hashCode()... |
89 |
|
{ |
90 |
0 |
if (__hashCodeCalc) |
91 |
|
{ |
92 |
0 |
return 0; |
93 |
|
} |
94 |
0 |
__hashCodeCalc = true; |
95 |
0 |
int _hashCode = 1; |
96 |
0 |
if (getOutput() != null) |
97 |
|
{ |
98 |
0 |
_hashCode += getOutput().hashCode(); |
99 |
|
} |
100 |
0 |
__hashCodeCalc = false; |
101 |
0 |
return _hashCode; |
102 |
|
} |
103 |
|
|
104 |
|
} |