org.bioconductor.packages.rservices
Class RLogical

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

public class RLogical
extends RVector

See Also:
Serialized Form

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

indexNA

protected int[] indexNA
Constructor Detail

RLogical

public RLogical()

RLogical

public RLogical(boolean value)

RLogical

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

setValue

public void setValue(boolean[] value)
Sets the value for this RLogical.

Parameters:
value -

setValue

public void setValue(java.lang.Boolean value)
Sets the value for this RLogical.

Parameters:
value -

getValue

public boolean[] getValue()
Gets the value for this RLogical.

Returns:
value

setIndexNA

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

Parameters:
indexNA -

getIndexNA

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

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.