public class REALSparseArray
extends java.lang.Object
Java class for REAL-SparseArray element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="REAL-SparseArray"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.dmg.org/PMML-4_1}Indices" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}REAL-Entries" minOccurs="0"/> </sequence> <attribute name="defaultValue" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" default="0" /> <attribute name="n" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" /> </restriction> </complexContent> </complexType> </element>
Constructor and Description |
---|
REALSparseArray() |
Modifier and Type | Method and Description |
---|---|
double |
getDefaultValue()
Gets the value of the defaultValue property.
|
java.util.List<java.lang.Integer> |
getIndices()
Gets the value of the indices property.
|
java.math.BigInteger |
getN()
Gets the value of the n property.
|
java.util.List<java.lang.Double> |
getREALEntries()
Gets the value of the realEntries property.
|
void |
setDefaultValue(java.lang.Double value)
Sets the value of the defaultValue property.
|
void |
setN(java.math.BigInteger value)
Sets the value of the n property.
|
public java.util.List<java.lang.Integer> getIndices()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the indices property.
For example, to add a new item, do as follows:
getIndices().add(newItem);
Objects of the following type(s) are allowed in the list
Integer
public java.util.List<java.lang.Double> getREALEntries()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the realEntries property.
For example, to add a new item, do as follows:
getREALEntries().add(newItem);
Objects of the following type(s) are allowed in the list
Double
public double getDefaultValue()
Double
public void setDefaultValue(java.lang.Double value)
value
- allowed object is
Double
public java.math.BigInteger getN()
BigInteger
public void setN(java.math.BigInteger value)
value
- allowed object is
BigInteger