Searched refs:dstOffset (Results 1 - 2 of 2) sorted by relevance

/ropes-1.2.2/src/org/ahmadsoft/ropes/impl/
H A DAbstractRope.java232 public Rope insert(final int dstOffset, final CharSequence s) { argument
234 if (dstOffset == 0)
236 else if (dstOffset == this.length())
238 else if (dstOffset < 0 || dstOffset > this.length())
239 throw new IndexOutOfBoundsException(dstOffset + " is out of insert range [" + 0 + ":" + this.length() + "]");
240 return this.subSequence(0, dstOffset).append(r).append(this.subSequence(dstOffset, this.length()));
/ropes-1.2.2/src/org/ahmadsoft/ropes/
H A DRope.java202 * @param dstOffset the offset.
207 //@ requires dstOffset > -1 && dstOffset <= length();
208 Rope insert(int dstOffset, CharSequence s); argument

Completed in 3 milliseconds