|
|||||||||
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.REXPSymbol
public class REXPSymbol
REXPSymbol represents a symbol in R.
Field Summary |
---|
Fields inherited from class org.rosuda.REngine.REXP |
---|
attr, maxDebugItems |
Constructor Summary | |
---|---|
REXPSymbol(java.lang.String name)
create a new symbol of the given name |
Method Summary | |
---|---|
java.lang.Object |
asNativeJavaObject()
attempt to represent the REXP by a native Java object and return it. |
java.lang.String |
asString()
returns the name of the symbol |
java.lang.String[] |
asStrings()
returns the contents as an array of Strings (if supported by the represented object) |
boolean |
isSymbol()
check whether the REXP object is a symbol |
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, createDataFrame, createDoubleMatrix, dim, getAttribute, hasAttribute, inherits, isComplex, isEnvironment, isExpression, isFactor, isInteger, isLanguage, isList, isLogical, isNA, isNull, isNumeric, isPairList, isRaw, isRecursive, isReference, isString, isVector, length |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public REXPSymbol(java.lang.String name)
Method Detail |
---|
public boolean isSymbol()
REXP
REXP
object is a symbol
isSymbol
in class REXP
true
if the receiver is a symbol, false
otherwisepublic java.lang.String asString()
asString
in class REXP
public java.lang.String[] asStrings()
REXP
asStrings
in class REXP
public 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
public java.lang.Object asNativeJavaObject()
REXP
int[1]
and not Integer
).
asNativeJavaObject
in class REXP
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |