Searched defs:iterator (Results 1 - 7 of 7) sorted by relevance

/ropes-1.1.3/src/org/ahmadsoft/ropes/impl/
H A DReverseRope.java65 public Iterator<Character> iterator(final int start) { method in class:ReverseRope
82 throw new UnsupportedOperationException("Rope iterator is read-only.");
114 throw new UnsupportedOperationException("Rope iterator is read-only.");
H A DConcatenationRope.java85 private final ConcatenationRopeIteratorImpl iterator = (ConcatenationRopeIteratorImpl) rope.iterator(0);
89 if (index > this.iterator.getPos()) {
90 this.iterator.skip(index-this.iterator.getPos()-1);
92 final char c = this.iterator.next();
99 final int toMoveBack = this.iterator.getPos() - index + 1;
100 if (this.iterator.canMoveBackwards(toMoveBack)) {
101 this.iterator.moveBackwards(toMoveBack);
102 return this.iterator
139 public Iterator<Character> iterator(final int start) { method in class:ConcatenationRope
[all...]
H A DFlatCharArrayRope.java146 public Iterator<Character> iterator(final int start) { method in class:FlatCharArrayRope
163 throw new UnsupportedOperationException("Rope iterator is read-only.");
196 throw new UnsupportedOperationException("Rope iterator is read-only.");
H A DFlatCharSequenceRope.java60 public Iterator<Character> iterator(final int start) { method in class:FlatCharSequenceRope
77 throw new UnsupportedOperationException("Rope iterator is read-only.");
116 throw new UnsupportedOperationException("Rope iterator is read-only.");
H A DSubstringRope.java76 public Iterator<Character> iterator(final int start) { method in class:SubstringRope
81 final Iterator<Character> u = SubstringRope.this.getRope().iterator(SubstringRope.this.getOffset() + start);
H A DAbstractRope.java61 final Iterator<Character> i = this.iterator();
90 final Iterator<Character> i1 = this.iterator();
91 final Iterator<Character> i2 = rope.iterator();
120 final Iterator<Character> i = this.iterator();
145 for (final Iterator<Character> i=this.iterator(fromIndex); i.hasNext(); ) {
214 public Iterator<Character> iterator() { method in class:AbstractRope
215 return this.iterator(0);
/ropes-1.1.3/src/org/ahmadsoft/ropes/
H A DRope.java43 * characters with an iterator instead, performance improves to
196 * Returns an iterator positioned to start at the specified index.
198 * @return an iterator positioned to start at the specified index.
200 Iterator<Character> iterator(int start); method in interface:Rope
259 * Returns a reverse iterator positioned to start at the end of this
260 * rope. A reverse iterator moves backwards instead of forwards through
262 * @return A reverse iterator positioned at the end of this rope.
268 * Returns a reverse iterator positioned to start at the specified index.
269 * A reverse iterator moves backwards instead of forwards through a rope.
271 * @return a reverse iterator positione
[all...]

Completed in 7 milliseconds