|
||||||||
| 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.REXPJavaReference
public class REXPJavaReference
REXPJavaReference is a reference to a Java object that has been resolved from is R wrapper. Note that not all engines support references.
| Field Summary |
|---|
| Fields inherited from class org.rosuda.REngine.REXP |
|---|
attr, maxDebugItems |
| Constructor Summary | |
|---|---|
REXPJavaReference(java.lang.Object o)
creates a new Java reference R object |
|
REXPJavaReference(java.lang.Object o,
REXPList attr)
creates a new Java reference R object |
|
| Method Summary | |
|---|---|
java.lang.Object |
asNativeJavaObject()
attempt to represent the REXP by a native Java object and return it. |
java.lang.Object |
getObject()
returns the Java object referenced by this REXP |
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, asString, asStrings, createDataFrame, dim, getAttribute, hasAttribute, inherits, isComplex, isEnvironment, isExpression, isFactor, isInteger, isLanguage, isList, isLogical, isNA, isNull, isNumeric, isPairList, isRaw, isRecursive, isReference, isString, isSymbol, isVector, length, toDebugString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public REXPJavaReference(java.lang.Object o)
o - Java object referenced by the REXP
public REXPJavaReference(java.lang.Object o,
REXPList attr)
o - Java object referenced by the REXPattr - attributes (of the R wrapper)| Method Detail |
|---|
public java.lang.Object getObject()
public java.lang.Object asNativeJavaObject()
REXPint[1] and not Integer).
asNativeJavaObject in class REXPpublic java.lang.String toString()
REXP
toString in class REXPREXP.asString() for accessing string REXPs)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||