org.af.jhlir.call
Interface RChar<WRAPPED_TYPE>

Type Parameters:
WRAPPED_TYPE - underlying type of the used back-end, see RObj
All Superinterfaces:
RObj<WRAPPED_TYPE>, RVector<WRAPPED_TYPE,String[],String>, RVectorFactor<WRAPPED_TYPE,String[],String>

public interface RChar<WRAPPED_TYPE>
extends RVector<WRAPPED_TYPE,String[],String>

Interface for a RChar Object that extends RObj.


Method Summary
 String[] getData()
          Returns an array containing all of the elements in this vector/factor in proper sequence
 List<String> getDataAsList()
          Returns a list containing all of the elements in this vector/factor in proper sequence
 String[] getDataAsObjArr()
          Returns an array containing all of the elements in this vector/factor in proper sequence.
 
Methods inherited from interface org.af.jhlir.call.RVectorFactor
get, getLength, getName, getNames, getNamesAsList, isNA
 
Methods inherited from interface org.af.jhlir.call.RObj
asRChar, asRDataFrame, asREnvironment, asRFactor, asRInteger, asRList, asRLogical, asRMatrixDouble, asRNumeric, asS3Obj, getWrapped
 

Method Detail

getData

String[] getData()
Description copied from interface: RVectorFactor
Returns an array containing all of the elements in this vector/factor in proper sequence

Specified by:
getData in interface RVectorFactor<WRAPPED_TYPE,String[],String>
Returns:
an array containing all of the elements in this vector/factor in proper sequence

getDataAsObjArr

String[] getDataAsObjArr()
Description copied from interface: RVectorFactor
Returns an array containing all of the elements in this vector/factor in proper sequence. If getData() returns an array of primitives, this methods converts to an array of Java Objects. Note that this takes linear time for long arrays.

Specified by:
getDataAsObjArr in interface RVectorFactor<WRAPPED_TYPE,String[],String>
Returns:
an array containing all of the elements in this vector/factor in proper sequence

getDataAsList

List<String> getDataAsList()
Description copied from interface: RVectorFactor
Returns a list containing all of the elements in this vector/factor in proper sequence

Specified by:
getDataAsList in interface RVectorFactor<WRAPPED_TYPE,String[],String>
Returns:
a list containing all of the elements in this vector/factor in proper sequence