org.bioconductor.packages.rservices
Class RInteger

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

public class RInteger
extends RVector

See Also:
Serialized Form

Field Summary
protected  int[] indexNA
           
protected  int[] value
           
 
Fields inherited from class org.bioconductor.packages.rservices.RVector
names
 
Constructor Summary
RInteger()
           
RInteger(int value)
           
RInteger(int[] value)
           
RInteger(int[] value, int[] indexNA, java.lang.String[] names)
           
 
Method Summary
 boolean equals(java.lang.Object inputObject)
           
 int[] getIndexNA()
          Gets the NA indices for this RInteger.
 int[] getValue()
          Gets the value for this RInteger.
 int length()
           
 void setIndexNA(int[] indexNA)
          Sets the NA indices for this RInteger, start from 0
 void setValue(int[] value)
          Sets the value for this RInteger.
 void setValue(java.lang.Integer value)
          Sets the value for this RInteger.
 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 int[] value

indexNA

protected int[] indexNA
Constructor Detail

RInteger

public RInteger()

RInteger

public RInteger(int value)

RInteger

public RInteger(int[] value)

RInteger

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

setValue

public void setValue(int[] value)
Sets the value for this RInteger.

Parameters:
value -

setValue

public void setValue(java.lang.Integer value)
Sets the value for this RInteger.

Parameters:
value -

getValue

public int[] getValue()
Gets the value for this RInteger.

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.