public interface IAnnotationMap extends Map<Annotation,Position>, ISynchronizable
ISynchronizable
. The map supports two
iterator methods, one for the values and one for the keys of the map. The
returned iterators are robust, i.e. they work on a copy of the values and
keys set that is made at the point in time the iterator methods are called.
The returned collections of the methods values
,
entrySet
, and keySet
are not synchronized on
the annotation map's lock object.
IAnnotationModel
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<Annotation,Position>> |
entrySet()
The returned set is not synchronized on this annotation map's lock object.
|
Set<Annotation> |
keySet()
The returned set is not synchronized on this annotation map's lock object.
|
Iterator<Annotation> |
keySetIterator()
Returns an iterator for a copy of this map's key set.
|
Collection<Position> |
values()
The returned collection is not synchronized on this annotation map's lock object.
|
Iterator<Position> |
valuesIterator()
Returns an iterator for a copy of this annotation map's values.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size
getLockObject, setLockObject
Iterator<Position> valuesIterator()
Iterator<Annotation> keySetIterator()
Set<Map.Entry<Annotation,Position>> entrySet()
entrySet
in interface Map<Annotation,Position>
Set<Annotation> keySet()
keySet
in interface Map<Annotation,Position>
Collection<Position> values()
values
in interface Map<Annotation,Position>
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.