1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package jalview.datamodel; |
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
@author |
27 |
|
|
28 |
|
|
|
|
| 66.7% |
Uncovered Elements: 12 (36) |
Complexity: 15 |
Complexity Density: 0.71 |
|
29 |
|
public class ContactRange |
30 |
|
{ |
31 |
|
int minPos; |
32 |
|
|
33 |
|
double min; |
34 |
|
|
35 |
|
int maxPos; |
36 |
|
|
37 |
|
double max; |
38 |
|
|
39 |
|
int from_column, to_column; |
40 |
|
|
41 |
|
private double mean; |
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
@param |
47 |
|
@param |
48 |
|
@param |
49 |
|
@param |
50 |
|
@param |
51 |
|
@param |
52 |
|
|
|
|
| 0% |
Uncovered Elements: 7 (7) |
Complexity: 1 |
Complexity Density: 0.14 |
|
53 |
0 |
public void update(int from_column, int to_column, int minPos, double min,... |
54 |
|
int maxPos, double max, double mean) |
55 |
|
{ |
56 |
0 |
this.from_column = from_column; |
57 |
0 |
this.to_column = to_column; |
58 |
0 |
this.minPos = minPos; |
59 |
0 |
this.min = min; |
60 |
0 |
this.maxPos = maxPos; |
61 |
0 |
this.max = max; |
62 |
0 |
this.mean = mean; |
63 |
|
} |
64 |
|
|
65 |
|
|
66 |
|
@return |
67 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
68 |
0 |
public int getMinPos()... |
69 |
|
{ |
70 |
0 |
return minPos; |
71 |
|
} |
72 |
|
|
73 |
|
|
74 |
|
@param |
75 |
|
|
76 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
77 |
206653 |
public void setMinPos(int minPos)... |
78 |
|
{ |
79 |
206653 |
this.minPos = minPos; |
80 |
|
} |
81 |
|
|
82 |
|
|
83 |
|
@return |
84 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
288600 |
public double getMin()... |
86 |
|
{ |
87 |
288600 |
return min; |
88 |
|
} |
89 |
|
|
90 |
|
|
91 |
|
@param |
92 |
|
|
93 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
94 |
206654 |
public void setMin(double min)... |
95 |
|
{ |
96 |
206654 |
this.min = min; |
97 |
|
} |
98 |
|
|
99 |
|
|
100 |
|
@return |
101 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
102 |
0 |
public int getMaxPos()... |
103 |
|
{ |
104 |
0 |
return maxPos; |
105 |
|
} |
106 |
|
|
107 |
|
|
108 |
|
@param |
109 |
|
|
110 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
111 |
206653 |
public void setMaxPos(int maxPos)... |
112 |
|
{ |
113 |
206653 |
this.maxPos = maxPos; |
114 |
|
} |
115 |
|
|
116 |
|
|
117 |
|
@return |
118 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
119 |
288601 |
public double getMax()... |
120 |
|
{ |
121 |
288602 |
return max; |
122 |
|
} |
123 |
|
|
124 |
|
|
125 |
|
@param |
126 |
|
|
127 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
128 |
206652 |
public void setMax(double max)... |
129 |
|
{ |
130 |
206653 |
this.max = max; |
131 |
|
} |
132 |
|
|
133 |
|
|
134 |
|
@return |
135 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
136 |
140080 |
public double getMean()... |
137 |
|
{ |
138 |
140080 |
return mean; |
139 |
|
} |
140 |
|
|
141 |
|
|
142 |
|
@param |
143 |
|
|
144 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
145 |
140080 |
public void setMean(double mean)... |
146 |
|
{ |
147 |
140080 |
this.mean = mean; |
148 |
|
} |
149 |
|
|
150 |
|
|
151 |
|
@return |
152 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
153 |
160 |
public int getFrom_column()... |
154 |
|
{ |
155 |
160 |
return from_column; |
156 |
|
} |
157 |
|
|
158 |
|
|
159 |
|
@param |
160 |
|
|
161 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
162 |
140080 |
public void setFrom_column(int from_column)... |
163 |
|
{ |
164 |
140080 |
this.from_column = from_column; |
165 |
|
} |
166 |
|
|
167 |
|
|
168 |
|
@return |
169 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
170 |
80 |
public int getTo_column()... |
171 |
|
{ |
172 |
80 |
return to_column; |
173 |
|
} |
174 |
|
|
175 |
|
|
176 |
|
@param |
177 |
|
|
178 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
179 |
140080 |
public void setTo_column(int to_column)... |
180 |
|
{ |
181 |
140080 |
this.to_column = to_column; |
182 |
|
} |
183 |
|
} |