|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.commons.metaclass.LazyMetaPropertyMap
public class LazyMetaPropertyMap
A map implementation that reads an objects properties lazily using Groovy's MetaClass
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry |
Constructor Summary | |
---|---|
LazyMetaPropertyMap(Object o)
Constructs the map |
Method Summary | |
---|---|
void |
clear()
|
boolean |
containsKey(Object propertyName)
|
boolean |
containsValue(Object o)
Checks whether the specified value is contained within the Map. |
Set |
entrySet()
|
boolean |
equals(Object o)
|
Object |
get(Object propertyName)
Obtains the value of an object's properties on demand using Groovy's MOP |
Object |
getInstance()
Returns the wrapped instance |
int |
hashCode()
|
boolean |
isEmpty()
|
Set |
keySet()
|
Object |
put(Object propertyName,
Object propertyValue)
|
void |
putAll(Map map)
|
Object |
remove(Object o)
|
int |
size()
|
Collection |
values()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LazyMetaPropertyMap(Object o)
o
- The object to inspectMethod Detail |
---|
public int size()
size
in interface Map
Map.size()
public boolean isEmpty()
isEmpty
in interface Map
Map.isEmpty()
public boolean containsKey(Object propertyName)
containsKey
in interface Map
Map.containsKey(Object)
public boolean containsValue(Object o)
containsValue
in interface Map
Map.containsValue(Object)
public Object get(Object propertyName)
get
in interface Map
propertyName
- The name of the property
public Object put(Object propertyName, Object propertyValue)
put
in interface Map
public Object remove(Object o)
remove
in interface Map
UnsupportedOperationException
public void putAll(Map map)
putAll
in interface Map
public void clear()
clear
in interface Map
UnsupportedOperationException
public Set keySet()
keySet
in interface Map
public Collection values()
values
in interface Map
public int hashCode()
hashCode
in interface Map
hashCode
in class Object
public boolean equals(Object o)
equals
in interface Map
equals
in class Object
public Object getInstance()
public Set entrySet()
entrySet
in interface Map
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |