org.bioconductor.packages.rservices
Class RChar
java.lang.Object
org.bioconductor.packages.rservices.RObject
org.bioconductor.packages.rservices.RVector
org.bioconductor.packages.rservices.RChar
- All Implemented Interfaces:
- java.io.Serializable
public class RChar
- extends RVector
- See Also:
- Serialized Form
Field Summary |
protected int[] |
indexNA
|
protected java.lang.String[] |
value
|
Fields inherited from class org.bioconductor.packages.rservices.RVector |
names |
Constructor Summary |
RChar()
|
RChar(java.lang.String value)
|
RChar(java.lang.String[] value)
|
RChar(java.lang.String[] value,
int[] indexNA,
java.lang.String[] names)
|
Method Summary |
boolean |
equals(java.lang.Object inputObject)
|
int[] |
getIndexNA()
Gets the NA indices for this RChar. |
java.lang.String[] |
getValue()
Gets the value for this RChar. |
int |
length()
|
void |
setIndexNA(int[] indexNA)
Sets the NA indices for this RChar, start from 0 |
void |
setValue(java.lang.String value)
Sets the value for this RChar. |
void |
setValue(java.lang.String[] value)
Sets the value for this RChar. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
value
protected java.lang.String[] value
indexNA
protected int[] indexNA
RChar
public RChar()
RChar
public RChar(java.lang.String value)
RChar
public RChar(java.lang.String[] value)
RChar
public RChar(java.lang.String[] value,
int[] indexNA,
java.lang.String[] names)
setValue
public void setValue(java.lang.String[] value)
- Sets the value for this RChar.
- Parameters:
value
-
setValue
public void setValue(java.lang.String value)
- Sets the value for this RChar.
- Parameters:
value
-
getValue
public java.lang.String[] getValue()
- Gets the value for this RChar.
- Returns:
- value
setIndexNA
public void setIndexNA(int[] indexNA)
- Sets the NA indices for this RChar, start from 0
- Parameters:
indexNA
-
getIndexNA
public int[] getIndexNA()
- Gets the NA indices for this RChar.
- 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.