1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
package jalview.xml.binding.jalview; |
10 |
|
|
11 |
|
import java.util.ArrayList; |
12 |
|
import java.util.List; |
13 |
|
import javax.xml.bind.annotation.XmlAccessType; |
14 |
|
import javax.xml.bind.annotation.XmlAccessorType; |
15 |
|
import javax.xml.bind.annotation.XmlAttribute; |
16 |
|
import javax.xml.bind.annotation.XmlElement; |
17 |
|
import javax.xml.bind.annotation.XmlType; |
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 |
|
@XmlAccessorType(XmlAccessType.FIELD) |
44 |
|
@XmlType(name = "DoubleMatrix", namespace = "www.jalview.org", propOrder = { |
45 |
|
"row", |
46 |
|
"d", |
47 |
|
"e" |
48 |
|
}) |
|
|
| 90.9% |
Uncovered Elements: 2 (22) |
Complexity: 10 |
Complexity Density: 0.91 |
|
49 |
|
public class DoubleMatrix { |
50 |
|
|
51 |
|
protected List<DoubleVector> row; |
52 |
|
@XmlElement(name = "D") |
53 |
|
protected DoubleVector d; |
54 |
|
@XmlElement(name = "E") |
55 |
|
protected DoubleVector e; |
56 |
|
@XmlAttribute(name = "rows") |
57 |
|
protected Integer rows; |
58 |
|
@XmlAttribute(name = "columns") |
59 |
|
protected Integer columns; |
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
|
@link |
80 |
|
|
81 |
|
|
82 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
83 |
90 |
public List<DoubleVector> getRow() {... |
84 |
90 |
if (row == null) { |
85 |
3 |
row = new ArrayList<DoubleVector>(); |
86 |
|
} |
87 |
90 |
return this.row; |
88 |
|
} |
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
@return |
94 |
|
|
95 |
|
@link |
96 |
|
|
97 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
98 |
5 |
public DoubleVector getD() {... |
99 |
5 |
return d; |
100 |
|
} |
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
|
105 |
|
@param |
106 |
|
|
107 |
|
@link |
108 |
|
|
109 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
110 |
2 |
public void setD(DoubleVector value) {... |
111 |
2 |
this.d = value; |
112 |
|
} |
113 |
|
|
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
@return |
118 |
|
|
119 |
|
@link |
120 |
|
|
121 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
122 |
5 |
public DoubleVector getE() {... |
123 |
5 |
return e; |
124 |
|
} |
125 |
|
|
126 |
|
|
127 |
|
|
128 |
|
|
129 |
|
@param |
130 |
|
|
131 |
|
@link |
132 |
|
|
133 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
134 |
2 |
public void setE(DoubleVector value) {... |
135 |
2 |
this.e = value; |
136 |
|
} |
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
|
141 |
|
@return |
142 |
|
|
143 |
|
@link |
144 |
|
|
145 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
146 |
3 |
public Integer getRows() {... |
147 |
3 |
return rows; |
148 |
|
} |
149 |
|
|
150 |
|
|
151 |
|
|
152 |
|
|
153 |
|
@param |
154 |
|
|
155 |
|
@link |
156 |
|
|
157 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
158 |
3 |
public void setRows(Integer value) {... |
159 |
3 |
this.rows = value; |
160 |
|
} |
161 |
|
|
162 |
|
|
163 |
|
|
164 |
|
|
165 |
|
@return |
166 |
|
|
167 |
|
@link |
168 |
|
|
169 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
170 |
0 |
public Integer getColumns() {... |
171 |
0 |
return columns; |
172 |
|
} |
173 |
|
|
174 |
|
|
175 |
|
|
176 |
|
|
177 |
|
@param |
178 |
|
|
179 |
|
@link |
180 |
|
|
181 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
182 |
3 |
public void setColumns(Integer value) {... |
183 |
3 |
this.columns = value; |
184 |
|
} |
185 |
|
|
186 |
|
} |