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

All Superinterfaces:
RObj<WRAPPED_TYPE>, RVector<WRAPPED_TYPE,int[],Integer>, RVectorFactor<WRAPPED_TYPE,int[],Integer>

public interface RInteger<WRAPPED_TYPE>
extends RVector<WRAPPED_TYPE,int[],Integer>


Method Summary
 int[] getData()
          Returns an array containing all of the elements in this vector/factor in proper sequence
 List<Integer> getDataAsList()
          Returns a list containing all of the elements in this vector/factor in proper sequence
 Integer[] 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

int[] 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,int[],Integer>
Returns:
an array containing all of the elements in this vector/factor in proper sequence

getDataAsObjArr

Integer[] 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,int[],Integer>
Returns:
an array containing all of the elements in this vector/factor in proper sequence

getDataAsList

List<Integer> 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,int[],Integer>
Returns:
a list containing all of the elements in this vector/factor in proper sequence