org.bioconductor.packages.rservices
Class RNumeric

java.lang.Object
  extended by org.bioconductor.packages.rservices.RObject
      extended by org.bioconductor.packages.rservices.RVector
          extended by org.bioconductor.packages.rservices.RNumeric
All Implemented Interfaces:
java.io.Serializable

public class RNumeric
extends RVector

See Also:
Serialized Form

Field Summary
protected  int[] indexNA
           
protected  double[] value
           
 
Fields inherited from class org.bioconductor.packages.rservices.RVector
names
 
Constructor Summary
RNumeric()
           
RNumeric(double value)
           
RNumeric(double[] value)
           
RNumeric(double[] value, int[] indexNA, java.lang.String[] names)
           
 
Method Summary
 boolean equals(java.lang.Object inputObject)
           
 int[] getIndexNA()
          Gets the NA indices for this RInteger.
 double[] getValue()
          Gets the value for this RNumeric.
 int length()
           
 void setIndexNA(int[] indexNA)
          Sets the NA indices for this RInteger, start from 0
 void setValue(java.lang.Double value)
          Sets the value for this RNumeric.
 void setValue(double[] value)
          Sets the value for this RNumeric.
 java.lang.String toString()
           
 
Methods inherited from class org.bioconductor.packages.rservices.RVector
getNames, setNames
 
Methods inherited from class org.bioconductor.packages.rservices.RObject
getOutputMsg, setOutputMsg
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

protected double[] value

indexNA

protected int[] indexNA
Constructor Detail

RNumeric

public RNumeric()

RNumeric

public RNumeric(double value)

RNumeric

public RNumeric(double[] value)

RNumeric

public RNumeric(double[] value,
                int[] indexNA,
                java.lang.String[] names)
Method Detail

setValue

public void setValue(double[] value)
Sets the value for this RNumeric.

Parameters:
value -

setValue

public void setValue(java.lang.Double value)
Sets the value for this RNumeric.

Parameters:
value -

getValue

public double[] getValue()
Gets the value for this RNumeric.

Returns:
value

setIndexNA

public void setIndexNA(int[] indexNA)
Sets the NA indices for this RInteger, start from 0

Parameters:
indexNA -

getIndexNA

public int[] getIndexNA()
Gets the NA indices for this RInteger.

Returns:
indexNA

length

public int length()
Overrides:
length in class RVector

equals

public boolean equals(java.lang.Object inputObject)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright Bioconductor. All Rights Reserved.