Lines Matching defs:start
60 public Iterator<Character> iterator(final int start) {
61 if (start < 0 || start > this.length())
62 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
64 int current = start;
99 public Iterator<Character> reverseIterator(final int start) {
100 if (start < 0 || start > this.length())
101 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
103 int current = FlatCharSequenceRope.this.length() - start;
122 public Rope subSequence(final int start, final int end) {
123 if (start == 0 && end == this.length())
125 if (end - start < 8 || this.sequence instanceof String /* special optimization for String */) {
126 return new FlatCharSequenceRope(this.sequence.subSequence(start, end));
128 return new SubstringRope(this, start, end-start);