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 MsaResult extends vamsas.objects.simple.Result |
24 |
|
implements java.io.Serializable |
25 |
|
{ |
26 |
|
private vamsas.objects.simple.Alignment msa; |
27 |
|
|
28 |
|
private java.lang.Object __equalsCalc = null; |
29 |
|
|
30 |
|
private boolean __hashCodeCalc = false; |
31 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
32 |
0 |
public MsaResult()... |
33 |
|
{ |
34 |
|
} |
35 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
36 |
0 |
public MsaResult(vamsas.objects.simple.Alignment msa)... |
37 |
|
{ |
38 |
0 |
this.msa = msa; |
39 |
|
} |
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
@return |
45 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
46 |
0 |
public vamsas.objects.simple.Alignment getMsa()... |
47 |
|
{ |
48 |
0 |
return msa; |
49 |
|
} |
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
@param |
55 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
56 |
0 |
public void setMsa(vamsas.objects.simple.Alignment msa)... |
57 |
|
{ |
58 |
0 |
this.msa = msa; |
59 |
|
} |
60 |
|
|
|
|
| 0% |
Uncovered Elements: 22 (22) |
Complexity: 5 |
Complexity Density: 0.36 |
|
61 |
0 |
@Override... |
62 |
|
public synchronized boolean equals(java.lang.Object obj) |
63 |
|
{ |
64 |
0 |
if (obj == null) |
65 |
|
{ |
66 |
0 |
return false; |
67 |
|
} |
68 |
0 |
if (!(obj instanceof MsaResult)) |
69 |
|
{ |
70 |
0 |
return false; |
71 |
|
} |
72 |
|
|
73 |
0 |
MsaResult other = (MsaResult) obj; |
74 |
|
|
75 |
0 |
if (this == obj) |
76 |
|
{ |
77 |
0 |
return true; |
78 |
|
} |
79 |
|
|
80 |
0 |
if (__equalsCalc != null) |
81 |
|
{ |
82 |
0 |
return (__equalsCalc == obj); |
83 |
|
} |
84 |
|
|
85 |
0 |
__equalsCalc = obj; |
86 |
|
|
87 |
0 |
boolean _equals; |
88 |
0 |
_equals = super.equals(obj) && (((this.msa == null) |
89 |
|
&& (other.getMsa() == null)) |
90 |
|
|| ((this.msa != null) && this.msa.equals(other.getMsa()))); |
91 |
0 |
__equalsCalc = null; |
92 |
|
|
93 |
0 |
return _equals; |
94 |
|
} |
95 |
|
|
|
|
| 0% |
Uncovered Elements: 12 (12) |
Complexity: 3 |
Complexity Density: 0.38 |
|
96 |
0 |
@Override... |
97 |
|
public synchronized int hashCode() |
98 |
|
{ |
99 |
0 |
if (__hashCodeCalc) |
100 |
|
{ |
101 |
0 |
return 0; |
102 |
|
} |
103 |
|
|
104 |
0 |
__hashCodeCalc = true; |
105 |
|
|
106 |
0 |
int _hashCode = super.hashCode(); |
107 |
|
|
108 |
0 |
if (getMsa() != null) |
109 |
|
{ |
110 |
0 |
_hashCode += getMsa().hashCode(); |
111 |
|
} |
112 |
|
|
113 |
0 |
__hashCodeCalc = false; |
114 |
|
|
115 |
0 |
return _hashCode; |
116 |
|
} |
117 |
|
} |