Clover icon

Coverage Report

  1. Project Clover database Thu Nov 28 2024 18:06:40 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
181
66
10
0.91
1.22
9
1.11

Classes

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