comparison dwtx/jface/text/source/AnnotationModel.d @ 146:75302ef3f92f

final
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 22:34:04 +0200
parents 02cd5f1224d3
children f70d9508c95c
comparison
equal deleted inserted replaced
145:02cd5f1224d3 146:75302ef3f92f
113 * @since 3.4 113 * @since 3.4
114 * @see AnnotationModel.RegionIterator#RegionIterator(Iterator, IAnnotationModel, int, int, bool, bool) 114 * @see AnnotationModel.RegionIterator#RegionIterator(Iterator, IAnnotationModel, int, int, bool, bool)
115 */ 115 */
116 private static final class RegionIterator : Iterator { 116 private static final class RegionIterator : Iterator {
117 117
118 private final Iterator fParentIterator; 118 private const Iterator fParentIterator;
119 private final bool fCanEndAfter; 119 private const bool fCanEndAfter;
120 private final bool fCanStartBefore; 120 private const bool fCanStartBefore;
121 private final IAnnotationModel fModel; 121 private const IAnnotationModel fModel;
122 private Object fNext; 122 private Object fNext;
123 private Position fRegion; 123 private Position fRegion;
124 124
125 /** 125 /**
126 * Iterator that returns all annotations from the parent iterator which 126 * Iterator that returns all annotations from the parent iterator which
205 * @since 3.4 205 * @since 3.4
206 */ 206 */
207 private static final class AnnotationsInterator : Iterator { 207 private static final class AnnotationsInterator : Iterator {
208 208
209 private Object fNext; 209 private Object fNext;
210 private final Position[] fPositions; 210 private const Position[] fPositions;
211 private int fIndex; 211 private int fIndex;
212 private final Map fMap; 212 private const Map fMap;
213 213
214 /** 214 /**
215 * @param positions positions to iterate over 215 * @param positions positions to iterate over
216 * @param map a map to map positions to annotations 216 * @param map a map to map positions to annotations
217 */ 217 */