Lines Matching defs:iterator

98                     AttributedCharacterIterator iterator = iterators[counter];
99 int start = iterator.getBeginIndex();
100 int end = iterator.getEndIndex();
104 iterator.setIndex(index);
106 Map attrs = iterator.getAttributes();
112 index = iterator.getRunLimit();
163 Iterator iterator = attributes.entrySet().iterator();
164 while (iterator.hasNext()) {
165 Map.Entry entry = (Map.Entry) iterator.next();
269 Iterator itr = keys.iterator();
393 Iterator iterator = attributes.entrySet().iterator();
394 while (iterator.hasNext()) {
395 Map.Entry entry = (Map.Entry) iterator.next();
545 * @return An iterator providing access to the text and its attributes.
555 * implementor may have need not be made accessible through the iterator.
560 * @return an iterator providing access to the entire text and its selected attributes
570 * implementor may have need not be made accessible through the iterator.
577 * @return an iterator providing access to the text and its attributes
618 // need to check whether the annotation's range extends outside the iterator's range
628 // annotation's range starts before iterator's range
642 // annotation's range ends after iterator's range
646 // annotation's range is subrange of iterator's range,
654 Iterator iterator = attributes.iterator();
655 while (iterator.hasNext()) {
656 Attribute key = (Attribute) iterator.next();
674 * Appends the contents of the CharacterIterator iterator into the
678 CharacterIterator iterator) {
679 int index = iterator.getBeginIndex();
680 int end = iterator.getEndIndex();
683 iterator.setIndex(index++);
684 buf.append(iterator.current());
704 Iterator iterator = attrs.entrySet().iterator();
706 while (iterator.hasNext()) {
707 Map.Entry entry = (Map.Entry)iterator.next();
728 // the iterator class associated with this string class
733 // we don't synchronize on the iterator, assuming that an iterator is only used in one thread.