org.apache.commons.jexl3.internal.introspection

## Class IndexedType.IndexedContainer

- java.lang.Object
- - org.apache.commons.jexl3.internal.introspection.IndexedType.IndexedContainer

- Enclosing class:
    IndexedType

      public static final class IndexedType.IndexedContainer
      extends Object

  A generic indexed property container, exposes get(key) and set(key, value) and solves method call dynamically based on arguments.

  Must remain public for introspection purpose.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `get(Object key)` Gets a property from a container.
    `Object` | `set(Object key, Object value)` Sets a property in a container.

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### get

          public Object get(Object key)
                     throws Exception

      Gets a property from a container.
      Parameters:
        `key` - the property key
      Returns:
        the property value
      Throws:
        `Exception` - if inner invocation fails

    - #### set

          public Object set(Object key,
                   Object value)
                     throws Exception

      Sets a property in a container.
      Parameters:
        `key` - the property key
        `value` - the property value
      Returns:
        the invocation result (frequently null)
      Throws:
        `Exception` - if inner invocation fails

Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.