Package org.apache.commons.beanutils2

# Class BeanMap.Entry

java.lang.Object
java.util.AbstractMap.SimpleEntry<String,Object>
org.apache.commons.beanutils2.BeanMap.Entry

All Implemented Interfaces:
  `Serializable`, `Map.Entry<String,Object>`

Enclosing class:
  `BeanMap`

protected static class BeanMap.Entry extends AbstractMap.SimpleEntry<String,Object>
Map entry used by `BeanMap`.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `Entry(BeanMap owner, String key, Object value)`
  Constructs a new `Entry`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `setValue(Object value)`
  Sets the value.

  ### Methods inherited from class java.util.AbstractMap.SimpleEntry

  `equals, getKey, getValue, hashCode, toString`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### Entry

    protected Entry(BeanMap owner, String key, Object value)
    Constructs a new `Entry`.
    Parameters:
      `owner` - the BeanMap this entry belongs to
      `key` - the key for this entry
      `value` - the value for this entry

- ## Method Details

  - ### setValue

    public Object setValue(Object value)
    Sets the value.
    Specified by:
      `setValue` in interface `Map.Entry<String,Object>`
    Overrides:
      `setValue` in class `AbstractMap.SimpleEntry<String,Object>`
    Parameters:
      `value` - the new value for the entry
    Returns:
      the old value for the entry