Class | Line # | Actions | |||
---|---|---|---|---|---|
DoubleVector | 39 | 3 | 2 |
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> &lt;complexType name="DoubleVector"&gt; | |
24 | * &lt;complexContent&gt; &lt;restriction | |
25 | * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; | |
26 | * &lt;sequence&gt; &lt;element name="v" | |
27 | * type="{http://www.w3.org/2001/XMLSchema}double" maxOccurs="unbounded" | |
28 | * minOccurs="0"/&gt; &lt;/sequence&gt; &lt;/restriction&gt; | |
29 | * &lt;/complexContent&gt; &lt;/complexType&gt; </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 | * <p> 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 | * <CODE>set</CODE> method for the v property. | |
52 | * | |
53 | * <p> For example, to add a new item, do as follows: <pre> | |
54 | * getV().add(newItem); </pre> | |
55 | * | |
56 | * | |
57 | * <p> Objects of the following type(s) are allowed in the list | |
58 | * {@link Double } | |
59 | * | |
60 | * | |
61 | */ | |
62 | 784 | 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 | } |