Clover icon

Coverage Report

  1. Project Clover database Wed Nov 5 2025 13:15:40 GMT
  2. Package jalview.xml.binding.jalview

File DoubleVector.java

 

Coverage histogram

../../../../img/srcFileCovDistChart10.png
0% of files have more coverage

Code metrics

2
3
1
1
79
21
2
0.67
3
1
2

Classes

Class Line # Actions
DoubleVector 42 3 2
1.0100%
 

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.XmlElement;
16    import javax.xml.bind.annotation.XmlType;
17   
18   
19    /**
20    * <p>Java class for DoubleVector complex type</p>.
21    *
22    * <p>The following schema fragment specifies the expected content contained within this class.</p>
23    *
24    * <pre>
25    * &lt;complexType name="DoubleVector"&gt;
26    * &lt;complexContent&gt;
27    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
28    * &lt;sequence&gt;
29    * &lt;element name="v" type="{http://www.w3.org/2001/XMLSchema}double" maxOccurs="unbounded" minOccurs="0"/&gt;
30    * &lt;/sequence&gt;
31    * &lt;/restriction&gt;
32    * &lt;/complexContent&gt;
33    * &lt;/complexType&gt;
34    * </pre>
35    *
36    *
37    */
38    @XmlAccessorType(XmlAccessType.FIELD)
39    @XmlType(name = "DoubleVector", namespace = "www.jalview.org", propOrder = {
40    "v"
41    })
 
42    public class DoubleVector {
43   
44    @XmlElement(type = Double.class)
45    protected List<Double> v;
46   
47    /**
48    * Gets the value of the v property.
49    *
50    * <p>This accessor method returns a reference to the live list,
51    * not a snapshot. Therefore any modification you make to the
52    * returned list will be present inside the JAXB object.
53    * This is why there is not a <CODE>set</CODE> method for the v property.</p>
54    *
55    * <p>
56    * For example, to add a new item, do as follows:
57    * </p>
58    * <pre>
59    * getV().add(newItem);
60    * </pre>
61    *
62    *
63    * <p>
64    * Objects of the following type(s) are allowed in the list
65    * {@link Double }
66    * </p>
67    *
68    *
69    * @return
70    * The value of the v property.
71    */
 
72  784 toggle public List<Double> getV() {
73  784 if (v == null) {
74  49 v = new ArrayList<Double>();
75    }
76  784 return this.v;
77    }
78   
79    }