Clover icon

Coverage Report

  1. Project Clover database Mon Dec 1 2025 15:35:32 GMT
  2. Package jalview.xml.binding.jalview

File DoubleMatrix.java

 

Coverage histogram

../../../../img/srcFileCovDistChart9.png
13% of files have more coverage

Code metrics

2
11
9
1
189
55
10
0.91
1.22
9
1.11

Classes

Class Line # Actions
DoubleMatrix 49 11 10
0.9090909490.9%
 

Contributing tests

This file is covered by 1 test. .

Source view

1    //
2    // This file was generated by the Eclipse Implementation of JAXB, v2.3.9
3    // See https://eclipse-ee4j.github.io/jaxb-ri
4    // Any modifications to this file will be lost upon recompilation of the source schema.
5    // Generated on: 2025.04.17 at 04:05:44 PM BST
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    * <p>Java class for DoubleMatrix complex type</p>.
22    *
23    * <p>The following schema fragment specifies the expected content contained within this class.</p>
24    *
25    * <pre>
26    * &lt;complexType name="DoubleMatrix"&gt;
27    * &lt;complexContent&gt;
28    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
29    * &lt;sequence&gt;
30    * &lt;element name="row" type="{www.jalview.org}DoubleVector" maxOccurs="unbounded" minOccurs="0"/&gt;
31    * &lt;element name="D" type="{www.jalview.org}DoubleVector" minOccurs="0"/&gt;
32    * &lt;element name="E" type="{www.jalview.org}DoubleVector" minOccurs="0"/&gt;
33    * &lt;/sequence&gt;
34    * &lt;attribute name="rows" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
35    * &lt;attribute name="columns" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
36    * &lt;/restriction&gt;
37    * &lt;/complexContent&gt;
38    * &lt;/complexType&gt;
39    * </pre>
40    *
41    *
42    */
43    @XmlAccessorType(XmlAccessType.FIELD)
44    @XmlType(name = "DoubleMatrix", namespace = "www.jalview.org", propOrder = {
45    "row",
46    "d",
47    "e"
48    })
 
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    * Gets the value of the row property.
63    *
64    * <p>This accessor method returns a reference to the live list,
65    * not a snapshot. Therefore any modification you make to the
66    * returned list will be present inside the JAXB object.
67    * This is why there is not a <CODE>set</CODE> method for the row property.</p>
68    *
69    * <p>
70    * For example, to add a new item, do as follows:
71    * </p>
72    * <pre>
73    * getRow().add(newItem);
74    * </pre>
75    *
76    *
77    * <p>
78    * Objects of the following type(s) are allowed in the list
79    * {@link DoubleVector }
80    * </p>
81    *
82    *
83    * @return
84    * The value of the row property.
85    */
 
86  90 toggle public List<DoubleVector> getRow() {
87  90 if (row == null) {
88  3 row = new ArrayList<DoubleVector>();
89    }
90  90 return this.row;
91    }
92   
93    /**
94    * Gets the value of the d property.
95    *
96    * @return
97    * possible object is
98    * {@link DoubleVector }
99    *
100    */
 
101  5 toggle public DoubleVector getD() {
102  5 return d;
103    }
104   
105    /**
106    * Sets the value of the d property.
107    *
108    * @param value
109    * allowed object is
110    * {@link DoubleVector }
111    *
112    */
 
113  2 toggle public void setD(DoubleVector value) {
114  2 this.d = value;
115    }
116   
117    /**
118    * Gets the value of the e property.
119    *
120    * @return
121    * possible object is
122    * {@link DoubleVector }
123    *
124    */
 
125  5 toggle public DoubleVector getE() {
126  5 return e;
127    }
128   
129    /**
130    * Sets the value of the e property.
131    *
132    * @param value
133    * allowed object is
134    * {@link DoubleVector }
135    *
136    */
 
137  2 toggle public void setE(DoubleVector value) {
138  2 this.e = value;
139    }
140   
141    /**
142    * Gets the value of the rows property.
143    *
144    * @return
145    * possible object is
146    * {@link Integer }
147    *
148    */
 
149  3 toggle public Integer getRows() {
150  3 return rows;
151    }
152   
153    /**
154    * Sets the value of the rows property.
155    *
156    * @param value
157    * allowed object is
158    * {@link Integer }
159    *
160    */
 
161  3 toggle public void setRows(Integer value) {
162  3 this.rows = value;
163    }
164   
165    /**
166    * Gets the value of the columns property.
167    *
168    * @return
169    * possible object is
170    * {@link Integer }
171    *
172    */
 
173  0 toggle public Integer getColumns() {
174  0 return columns;
175    }
176   
177    /**
178    * Sets the value of the columns property.
179    *
180    * @param value
181    * allowed object is
182    * {@link Integer }
183    *
184    */
 
185  3 toggle public void setColumns(Integer value) {
186  3 this.columns = value;
187    }
188   
189    }