org.dmg.pmml.pmml_4_1.descr
Class REALSparseArray

java.lang.Object
  extended by org.dmg.pmml.pmml_4_1.descr.REALSparseArray
All Implemented Interfaces:
Serializable

public class REALSparseArray
extends Object
implements Serializable

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <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="n" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" />
       <attribute name="defaultValue" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" default="0" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Double defaultValue
           
protected  List<Integer> indices
           
protected  BigInteger n
           
protected  List<Double> realEntries
           
 
Constructor Summary
REALSparseArray()
           
 
Method Summary
 double getDefaultValue()
          Gets the value of the defaultValue property.
 List<Integer> getIndices()
          Gets the value of the indices property.
 BigInteger getN()
          Gets the value of the n property.
 List<Double> getREALEntries()
          Gets the value of the realEntries property.
 void setDefaultValue(Double value)
          Sets the value of the defaultValue property.
 void setN(BigInteger value)
          Sets the value of the n property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

indices

protected List<Integer> indices

realEntries

protected List<Double> realEntries

n

protected BigInteger n

defaultValue

protected Double defaultValue
Constructor Detail

REALSparseArray

public REALSparseArray()
Method Detail

getIndices

public List<Integer> getIndices()
Gets the value of the indices property.

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


getREALEntries

public List<Double> getREALEntries()
Gets the value of the realEntries property.

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


getN

public BigInteger getN()
Gets the value of the n property.

Returns:
possible object is BigInteger

setN

public void setN(BigInteger value)
Sets the value of the n property.

Parameters:
value - allowed object is BigInteger

getDefaultValue

public double getDefaultValue()
Gets the value of the defaultValue property.

Returns:
possible object is Double

setDefaultValue

public void setDefaultValue(Double value)
Sets the value of the defaultValue property.

Parameters:
value - allowed object is Double


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.