org.bioconductor.packages.rservices
Class RArray

java.lang.Object
  extended by org.bioconductor.packages.rservices.RObject
      extended by org.bioconductor.packages.rservices.RArray
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
RMatrix

public class RArray
extends RObject

See Also:
Serialized Form

Field Summary
protected  int[] dim
           
protected  RList dimnames
           
protected  RVector value
           
 
Constructor Summary
RArray()
           
RArray(RVector value)
           
RArray(RVector value, int[] dim, RList dimnames)
           
 
Method Summary
 boolean equals(java.lang.Object inputObject)
           
 int[] getDim()
          Gets the dim value for this RArray.
 RList getDimnames()
          Gets the dimnames value for this RArray.
 RVector getValue()
          Gets the value for this RArray.
 void setDim(int[] dim)
          Sets the dim value for this RArray.
 void setDimnames(RList dimnames)
          Sets the dimnames value for this RArray.
 void setValue(RVector value)
          Sets the value for this RArray.
 java.lang.String toString()
           
 
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 RVector value

dim

protected int[] dim

dimnames

protected RList dimnames
Constructor Detail

RArray

public RArray()

RArray

public RArray(RVector value)

RArray

public RArray(RVector value,
              int[] dim,
              RList dimnames)
Method Detail

setValue

public void setValue(RVector value)
Sets the value for this RArray.

Parameters:
value -

getValue

public RVector getValue()
Gets the value for this RArray.

Returns:
value

setDim

public void setDim(int[] dim)
Sets the dim value for this RArray.

Parameters:
dim -

getDim

public int[] getDim()
Gets the dim value for this RArray.

Returns:
dim

setDimnames

public void setDimnames(RList dimnames)
                 throws java.lang.Exception
Sets the dimnames value for this RArray.

Parameters:
dimnames -
Throws:
java.lang.Exception

getDimnames

public RList getDimnames()
Gets the dimnames value for this RArray.

Returns:
dimnames

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.