|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.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. |
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, 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()
REXPREXP object is a symbol
isSymbol in class REXPtrue if the receiver is a symbol, false otherwisepublic java.lang.String asString()
asString in class REXPpublic java.lang.String[] asStrings()
REXP
asStrings in class REXPpublic java.lang.String toString()
REXP
toString in class REXPREXP.asString() for accessing string REXPs)public java.lang.String toDebugString()
REXPREXP.maxDebugItems)
toDebugString in class REXPpublic java.lang.Object asNativeJavaObject()
REXPint[1] and not Integer).
asNativeJavaObject in class REXP
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||