Clover icon

Coverage Report

  1. Project Clover database Tue Oct 29 2024 21:36:55 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
71
26
2
0.67
3
1
2

Classes

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