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 |
|
|
|
|
| 0% |
Uncovered Elements: 36 (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 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
77 |
0 |
public void setMinPos(int minPos)... |
78 |
|
{ |
79 |
0 |
this.minPos = minPos; |
80 |
|
} |
81 |
|
|
82 |
|
|
83 |
|
@return |
84 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
85 |
0 |
public double getMin()... |
86 |
|
{ |
87 |
0 |
return min; |
88 |
|
} |
89 |
|
|
90 |
|
|
91 |
|
@param |
92 |
|
|
93 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
94 |
0 |
public void setMin(double min)... |
95 |
|
{ |
96 |
0 |
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 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
111 |
0 |
public void setMaxPos(int maxPos)... |
112 |
|
{ |
113 |
0 |
this.maxPos = maxPos; |
114 |
|
} |
115 |
|
|
116 |
|
|
117 |
|
@return |
118 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
119 |
0 |
public double getMax()... |
120 |
|
{ |
121 |
0 |
return max; |
122 |
|
} |
123 |
|
|
124 |
|
|
125 |
|
@param |
126 |
|
|
127 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
128 |
0 |
public void setMax(double max)... |
129 |
|
{ |
130 |
0 |
this.max = max; |
131 |
|
} |
132 |
|
|
133 |
|
|
134 |
|
@return |
135 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
136 |
0 |
public double getMean()... |
137 |
|
{ |
138 |
0 |
return mean; |
139 |
|
} |
140 |
|
|
141 |
|
|
142 |
|
@param |
143 |
|
|
144 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
145 |
0 |
public void setMean(double mean)... |
146 |
|
{ |
147 |
0 |
this.mean = mean; |
148 |
|
} |
149 |
|
|
150 |
|
|
151 |
|
@return |
152 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
153 |
0 |
public int getFrom_column()... |
154 |
|
{ |
155 |
0 |
return from_column; |
156 |
|
} |
157 |
|
|
158 |
|
|
159 |
|
@param |
160 |
|
|
161 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
162 |
0 |
public void setFrom_column(int from_column)... |
163 |
|
{ |
164 |
0 |
this.from_column = from_column; |
165 |
|
} |
166 |
|
|
167 |
|
|
168 |
|
@return |
169 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
170 |
0 |
public int getTo_column()... |
171 |
|
{ |
172 |
0 |
return to_column; |
173 |
|
} |
174 |
|
|
175 |
|
|
176 |
|
@param |
177 |
|
|
178 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
179 |
0 |
public void setTo_column(int to_column)... |
180 |
|
{ |
181 |
0 |
this.to_column = to_column; |
182 |
|
} |
183 |
|
} |