gate.annotation
Class AnnotationSetImpl.VerboseHashMap
java.lang.Object
java.util.AbstractMap
java.util.HashMap
gate.annotation.AnnotationSetImpl.VerboseHashMap
- All Implemented Interfaces:
- Cloneable, Map, Serializable
- Enclosing class:
- AnnotationSetImpl
- public class AnnotationSetImpl.VerboseHashMap
- extends HashMap
This is a HashMap
that fires events when elements are removed.
This class has been used in a previous version for the indexById structure
which now uses a simple HashMap.
This class is kept here for backwards compatibility of old serial
datastores.
- See Also:
- Serialized Form
Nested classes inherited from class java.util.HashMap |
|
Nested classes inherited from class java.util.AbstractMap |
|
Fields inherited from class java.util.HashMap |
|
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, size, values |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
owner
private transient AnnotationSetImpl owner
- The annotation set this maps is part of.
This is an ugly hack in order to fix a bug: database annotation sets
didn't fire annotation removed events.
AnnotationSetImpl.VerboseHashMap
AnnotationSetImpl.VerboseHashMap()
remove
public Object remove(Object key)
setOwner
public void setOwner(AnnotationSetImpl newOwner)
- Sets the annotation set this maps is part of.
This is an ugly hack in order to fix a bug: database annotation sets
didn't fire annotation removed events.