public static final class UberspectImpl.IndexedContainer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Object |
object
The instance owning the container.
|
private UberspectImpl.IndexedType |
type
The container type instance.
|
| Modifier | Constructor and Description |
|---|---|
private |
IndexedContainer(UberspectImpl.IndexedType theType,
java.lang.Object theObject)
Creates a new duck container.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(java.lang.Object key)
Gets a property from a container.
|
java.lang.Object |
set(java.lang.Object key,
java.lang.Object value)
Sets a property in a container.
|
private final java.lang.Object object
private final UberspectImpl.IndexedType type
private IndexedContainer(UberspectImpl.IndexedType theType, java.lang.Object theObject)
theType - the container typetheObject - the instance owning the containerpublic java.lang.Object get(java.lang.Object key)
throws java.lang.Exception
key - the property keyjava.lang.Exception - if inner invocation failspublic java.lang.Object set(java.lang.Object key,
java.lang.Object value)
throws java.lang.Exception
key - the property keyvalue - the property valuejava.lang.Exception - if inner invocation fails