Searched refs:indexOf (Results 1 - 6 of 6) sorted by relevance

/ropes-1.2.5/src/org/ahmadsoft/ropes/
H A DRope.java136 int indexOf(char ch); method in interface:Rope
157 int indexOf(char ch, int fromIndex); method in interface:Rope
173 int indexOf(CharSequence sequence); method in interface:Rope
190 int indexOf(CharSequence sequence, int fromIndex); method in interface:Rope
/ropes-1.2.5/src/org/ahmadsoft/ropes/impl/
H A DFlatCharArrayRope.java74 * indexOf implementation. Calls to charAt have been replaced
78 public int indexOf(final char ch) { method in class:FlatCharArrayRope
87 * indexOf implementation. Calls to charAt have been replaced
91 public int indexOf(final char ch, final int fromIndex) { method in class:FlatCharArrayRope
102 * indexOf implementation. Calls to charAt have been replaced
106 public int indexOf(final CharSequence sequence, final int fromIndex) { method in class:FlatCharArrayRope
115 return this.indexOf(sequence.charAt(0), fromIndex);
H A DAbstractRope.java130 public int indexOf(final char ch) { method in class:AbstractRope
171 public int indexOf(final char ch, final int fromIndex) { method in class:AbstractRope
184 public int indexOf(final CharSequence sequence) { method in class:AbstractRope
185 return this.indexOf(sequence, 0);
189 public int indexOf(final CharSequence sequence, final int fromIndex) { method in class:AbstractRope
200 return this.indexOf(sequence.charAt(0), fromIndex);
/ropes-1.2.5/src/org/ahmadsoft/ropes/test/
H A DRopeTest.java260 Assert.assertEquals(1, r3.indexOf('l'));
261 Assert.assertEquals(6, r3.indexOf('e'));
265 assertEquals(-1, r.indexOf('z'));
266 assertEquals(0, r.indexOf('a'));
267 assertEquals(1, r.indexOf('b'));
268 assertEquals(5, r.indexOf('f'));
271 assertEquals(1, r.indexOf('b', 0));
272 assertEquals(0, r.indexOf('a', 0));
273 assertEquals(-1, r.indexOf('z', 0));
274 assertEquals(-1, r.indexOf('
[all...]
H A DPerformanceTest.java386 int loc = b.indexOf(toFind);
388 System.out.printf("[String.find] indexOf needle length %d found at index %d in % ,18d ns.\n", toFind.length(), loc, (y-x));
397 int loc = b.indexOf(toFind);
399 System.out.printf("[StringBuffer.find] indexOf needle length %d found at index %d in % ,18d ns.\n", toFind.length(), loc, (y-x));
408 int loc = b.indexOf(toFind);
410 System.out.printf("[Rope.find] indexOf needle length %d found at index %d in % ,18d ns.\n", toFind.length(), loc, (y-x));
418 int loc = aChristmasCarol.indexOf(toFind);
420 System.out.printf("[String.find] indexOf needle length %d found at index %d in % ,18d ns.\n", toFind.length(), loc, (y-x));
428 int loc = aChristmasCarol.indexOf(toFind);
430 System.out.printf("[StringBuffer.find] indexOf needl
[all...]
/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 56 milliseconds