Searched refs:fromIndex (Results 1 - 4 of 4) sorted by relevance

/ropes-1.2.5/src/org/ahmadsoft/ropes/impl/
H A DFlatCharArrayRope.java91 public int indexOf(final char ch, final int fromIndex) { argument
92 if (fromIndex < 0 || fromIndex >= this.length())
93 throw new IndexOutOfBoundsException("Rope index out of range: " + fromIndex);
94 for (int j=fromIndex; j<this.sequence.length; ++j)
106 public int indexOf(final CharSequence sequence, final int fromIndex) { argument
115 return this.indexOf(sequence.charAt(0), fromIndex);
128 for (int j=fromIndex+length-1; j<this.length();) {
H A DAbstractRope.java171 public int indexOf(final char ch, final int fromIndex) { argument
172 if (fromIndex < 0 || fromIndex >= this.length())
173 throw new IndexOutOfBoundsException("Rope index out of range: " + fromIndex);
174 int index = fromIndex - 1;
175 for (final Iterator<Character> i=this.iterator(fromIndex); i.hasNext(); ) {
189 public int indexOf(final CharSequence sequence, final int fromIndex) { argument
200 return this.indexOf(sequence.charAt(0), fromIndex);
213 for (int j=fromIndex+length-1; j<this.length();) {
/ropes-1.2.5/src/org/ahmadsoft/ropes/
H A DRope.java151 * @param fromIndex the index to start searching from.
155 //@ requires fromIndex > -1 && fromIndex < length();
157 int indexOf(char ch, int fromIndex); argument
180 * k >= fromIndex && this.startsWith(str, k)
184 * @param fromIndex the index to start searching from.
188 //@ requires sequence != null && fromIndex > -1 && fromIndex < length();
190 int indexOf(CharSequence sequence, int fromIndex); argument
/ropes-1.2.5/
H A Dropes.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ahmadsoft/ org/ahmadsoft/ropes/ org/ahmadsoft/ropes/impl/ ...

Completed in 11 milliseconds