java.lang.Object | |
↳ | com.google.gwt.core.client.impl.WeakMapping |
A class associating a (String, Object) map with arbitrary source objects (except for Strings). This implementation is used in Development Mode.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the Object associated with the given key in the (key, value)
mapping associated with the given Object instance.
| |||||||||||
Associates a value with a given key in the (key, value) mapping associated
with the given Object instance.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns the Object associated with the given key in the (key, value) mapping associated with the given Object instance.
instance | the source Object. |
---|---|
key | a String key. |
Associates a value with a given key in the (key, value) mapping associated with the given Object instance. Note that the key space is module-wide, so some care should be taken to choose sufficiently unique identifiers.
Due to restrictions of the Production Mode implementation, the instance argument must not be a String.
instance | the source Object, which must not be a String. |
---|---|
key | a String key. |
value | the Object to associate with the key on the given source Object. |
IllegalArgumentException | if instance is a String. |
---|