Groovy 2.2.1

groovy.lang
[Java] Class Reference

java.lang.Object
  groovy.lang.GroovyObjectSupport
      groovy.lang.Reference
All Implemented Interfaces:
Serializable

public class Reference
extends GroovyObjectSupport

Represents a reference to a value

Authors:
James Strachan
Version:
\$Revision\$


Constructor Summary
Reference()

Reference(Object value)

 
Method Summary
Object get()

Object getProperty(String property)

Object invokeMethod(String name, Object args)

void set(Object value)

void setProperty(String property, Object newValue)

 
Methods inherited from class GroovyObjectSupport
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

Reference

public Reference()


Reference

public Reference(Object value)


 
Method Detail

get

public Object get()


getProperty

public Object getProperty(String property)


invokeMethod

public Object invokeMethod(String name, Object args)


set

public void set(Object value)


setProperty

public void setProperty(String property, Object newValue)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.