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

/ropes-1.2.5/src/org/ahmadsoft/ropes/
H A DRope.java381 * prefix.
382 * @param prefix the prefix to test.
384 * specified prefix and <code>false</code> otherwise.
387 public boolean startsWith(CharSequence prefix); argument
390 * offset, starts with the specified prefix.
391 * @param prefix the prefix to test.
394 * specified prefix and <code>false</code> otherwise.
396 public boolean startsWith(CharSequence prefix, in argument
[all...]
/ropes-1.2.5/src/org/ahmadsoft/ropes/impl/
H A DAbstractRope.java141 public boolean startsWith(CharSequence prefix) { argument
142 return startsWith(prefix, 0);
146 public boolean startsWith(CharSequence prefix, int offset) { argument
149 if (offset + prefix.length() > this.length())
153 for (Iterator<Character> i=this.iterator(offset); i.hasNext() && x < prefix.length(); ) {
154 if (i.next().charValue() != prefix.charAt(x++))
/ropes-1.2.5/
H A Dropes.jar ... index public boolean startsWith (java.lang.CharSequence) CharSequence prefix public boolean startsWith (java.lang.CharSequence, int) java ...
/ropes-1.2.5/src/org/ahmadsoft/ropes/test/
H A DPerformanceTest.java1070 private static void stat(PrintStream out, long[] stats, String unit, String prefix) { argument
1081 out.printf("%-14s Average=% ,16.0f %s Median=% ,16.0f%s\n", prefix, average, unit, median, unit);

Completed in 485 milliseconds