Searched refs:index (Results 1 - 8 of 8) sorted by relevance

/ropes-1.2.5/src/org/ahmadsoft/ropes/impl/
H A DConcatenationRope.java55 public char charAt(final int index) { argument
56 if (index >= this.length())
57 throw new IndexOutOfBoundsException("Rope index out of range: " + index);
59 return (index < this.left.length() ? this.left.charAt(index): this.right.charAt(index - this.left.length()));
85 public char charAt(final int index) {
86 if (index > this.iterator.getPos()) {
87 this.iterator.skip(index
[all...]
H A DAbstractRope.java131 int index = -1;
133 ++index;
135 return index;
173 throw new IndexOutOfBoundsException("Rope index out of range: " + fromIndex);
174 int index = fromIndex - 1;
176 ++index;
178 return index;
250 int index = -1;
252 ++index;
256 if (index <
[all...]
H A DRepeatedCharacterSequence.java44 public char charAt(int index) { argument
H A DSubstringRope.java52 public char charAt(final int index) { argument
53 if (index >= this.length())
54 throw new IndexOutOfBoundsException("Rope index out of range: " + index);
56 return this.rope.charAt(this.offset + index);
79 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
117 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
H A DReverseRope.java53 public char charAt(final int index) { argument
54 return this.rope.charAt(this.length() - index - 1);
65 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
97 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
132 throw new IndexOutOfBoundsException("Rope index out of bounds:" + (offset < 0 ? offset: offset + length));
H A DFlatCharSequenceRope.java50 public char charAt(final int index) { argument
51 return this.sequence.charAt(index);
62 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
101 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
149 throw new IndexOutOfBoundsException("Rope index out of bounds:" + (offset < 0 ? offset: offset + length));
H A DFlatCharArrayRope.java63 public char charAt(final int index) { argument
64 return this.sequence[index];
93 throw new IndexOutOfBoundsException("Rope index out of range: " + fromIndex);
148 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
181 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
/ropes-1.2.5/
H A Dropes.jar ... java.util.Iterator i$ char ch int index public boolean startsWith (java.lang.CharSequence) CharSequence prefix ...

Completed in 15 milliseconds