|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InternalVariables
Interface that gives access to the internal variables of a Ruby object.
| Method Summary | |
|---|---|
IRubyObject |
fastGetInternalVariable(java.lang.String internedName)
Returns the named internal variable if present, else null. |
boolean |
fastHasInternalVariable(java.lang.String internedName)
Returns true if object has the named internal variable. |
void |
fastSetInternalVariable(java.lang.String internedName,
IRubyObject value)
Sets the named internal variable to the specified value. |
IRubyObject |
getInternalVariable(java.lang.String name)
Returns the named internal variable if present, else null. |
java.util.List<Variable<IRubyObject>> |
getInternalVariableList()
|
boolean |
hasInternalVariable(java.lang.String name)
Returns true if object has the named internal variable. |
IRubyObject |
removeInternalVariable(java.lang.String name)
Removes the named internal variable, if present, returning its value. |
void |
setInternalVariable(java.lang.String name,
IRubyObject value)
Sets the named internal variable to the specified value. |
| Method Detail |
|---|
boolean hasInternalVariable(java.lang.String name)
name - the name of an internal variable
boolean fastHasInternalVariable(java.lang.String internedName)
internedName - the interned name of an internal variable
IRubyObject getInternalVariable(java.lang.String name)
name - the name of an internal variable
IRubyObject fastGetInternalVariable(java.lang.String internedName)
internedName - the interned name of an internal variable
void setInternalVariable(java.lang.String name,
IRubyObject value)
name - the name of an internal variablevalue - the value to be set
void fastSetInternalVariable(java.lang.String internedName,
IRubyObject value)
internedName - the interned name of an internal variablevalue - the value to be setIRubyObject removeInternalVariable(java.lang.String name)
name - the name of the variable to remove
java.util.List<Variable<IRubyObject>> getInternalVariableList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||