com.mysema.util
Class BeanMap.MyMapEntry
java.lang.Object
com.mysema.util.BeanMap.MyMapEntry
- All Implemented Interfaces:
- Map.Entry<String,Object>
- Enclosing class:
- BeanMap
protected static class BeanMap.MyMapEntry
- extends Object
- implements Map.Entry<String,Object>
Map entry used by BeanMap
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanMap.MyMapEntry
protected BeanMap.MyMapEntry(BeanMap owner,
String key,
Object value)
- Constructs a new
MyMapEntry
.
- Parameters:
owner
- the BeanMap this entry belongs tokey
- the key for this entryvalue
- the value for this entry
setValue
public Object setValue(Object value)
- Sets the value.
- Specified by:
setValue
in interface Map.Entry<String,Object>
- Parameters:
value
- the new value for the entry
- Returns:
- the old value for the entry
getKey
public String getKey()
- Specified by:
getKey
in interface Map.Entry<String,Object>
getValue
public Object getValue()
- Specified by:
getValue
in interface Map.Entry<String,Object>
Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.