Subclasses can declare fields for known data keys using the {@link Key} annotation. Each fieldcan be of any visibility (private, package private, protected, or public) and must not be static. {@code null} unknown data key names are not allowed, but {@code null} data values are allowed.
Iteration order of the data keys is based on the sorted (ascending) key names of the declared fields, followed by the iteration order of all of the unknown data key name/value pairs.
Implementation is not thread-safe. For a thread-safe choice instead use an implementation of {@link ConcurrentMap}.
@since 1.0 @author Yaniv Inbar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|