Annotation that is optimized for memory usage. Access time
is linear, so SmallAnnotations are not recommended when
the number of entries is large. However, they are fine for
small numbers of keys.
A minimal-memory alternative to SimpleAnnotation
When creating a large number of small Annotation instances, it is worth
instantiating SmallAnnotation. Small is anything up to at least 30 properties
but will vary with the JavaVM and underlying platform.
Implement this to return the Map delegate. Modifying this return value will
modify the properties associated with this annotation.
From code in the 1.2 version of AbstractAnnotation
This is required for the implementation of an Annotation that
extends AbstractAnnotation. Where possible implementations
should be backed with a
LinkedHashMap or similar so properties are iterated in the order
they were added.