|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rosuda.REngine.REXP org.rosuda.REngine.REXPVector
public abstract class REXPVector
abstract class representing all vectors in R
Field Summary |
---|
Fields inherited from class org.rosuda.REngine.REXP |
---|
attr, maxDebugItems |
Constructor Summary | |
---|---|
REXPVector()
|
|
REXPVector(REXPList attr)
|
Method Summary | |
---|---|
boolean[] |
isNA()
returns a boolean vector of the same length as this vector with true for NA values and false for any other values |
boolean |
isVector()
check whether the REXP object is a vector |
abstract int |
length()
returns the length of the vector (i.e. the number of elements) |
java.lang.String |
toDebugString()
returns representation that it useful for debugging (e.g. it includes attributes and may include vector values -- see REXP.maxDebugItems ) |
java.lang.String |
toString()
returns a string description of the object |
Methods inherited from class org.rosuda.REngine.REXP |
---|
_attr, asBytes, asDouble, asDoubleMatrix, asDoubles, asFactor, asInteger, asIntegers, asList, asNativeJavaObject, asString, asStrings, createDataFrame, createDoubleMatrix, dim, getAttribute, hasAttribute, inherits, isComplex, isEnvironment, isExpression, isFactor, isInteger, isLanguage, isList, isLogical, isNull, isNumeric, isPairList, isRaw, isRecursive, isReference, isString, isSymbol |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public REXPVector()
public REXPVector(REXPList attr)
Method Detail |
---|
public abstract int length()
length
in class REXP
public boolean isVector()
REXP
REXP
object is a vector
isVector
in class REXP
true
if the receiver is a vector, false
otherwisepublic boolean[] isNA()
true
for NA values and false
for any other values
isNA
in class REXP
true
for NA values and false
for any other valuespublic java.lang.String toString()
REXP
toString
in class REXP
REXP.asString()
for accessing string REXPs)public java.lang.String toDebugString()
REXP
REXP.maxDebugItems
)
toDebugString
in class REXP
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |