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