Top Fields Constructors Methods
org.jruby.runtime.component

public Class VariableEntry<BaseObjectType>

extends Object
implements Variable<BaseObjectType>
Class Inheritance
All Implemented Interfaces
org.jruby.runtime.builtin.Variable
Imports
org.jruby.runtime.builtin.Variable, org.jruby.util.IdUtil

Field Summary

Modifier and TypeField and Description
public final String
public final BaseObjectType

Constructor Summary

AccessConstructor and Description
public
VariableEntry(String name, BaseObjectType value)

Method Summary

Modifier and TypeMethod and Description
public String
public BaseObjectType
public boolean
public boolean
public boolean
public boolean
isRubyVariable()

Implements org.jruby.runtime.builtin.Variable.isRubyVariable.

Returns true if the variable is an instance variable, class variable, or constant; otherwise, false.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

nameback to summary
public final String name
valueback to summary
public final BaseObjectType value

Constructor Detail

VariableEntryback to summary
public VariableEntry(String name, BaseObjectType value)

Method Detail

getNameback to summary
public String getName()

Implements org.jruby.runtime.builtin.Variable.getName.

getValueback to summary
public BaseObjectType getValue()

Implements org.jruby.runtime.builtin.Variable.getValue.

isClassVariableback to summary
public boolean isClassVariable()

Implements org.jruby.runtime.builtin.Variable.isClassVariable.

isConstantback to summary
public boolean isConstant()

Implements org.jruby.runtime.builtin.Variable.isConstant.

isInstanceVariableback to summary
public boolean isInstanceVariable()

Implements org.jruby.runtime.builtin.Variable.isInstanceVariable.

isRubyVariableback to summary
public boolean isRubyVariable()

Implements org.jruby.runtime.builtin.Variable.isRubyVariable.

Doc from org.jruby.runtime.builtin.Variable.isRubyVariable.

Returns true if the variable is an instance variable, class variable, or constant; otherwise, false.

Returns:boolean

true if the variable is an instance variable, class variable, or constant, else false

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override