Lines Matching refs:length

60 		final int compareTill = Math.min(sequence.length(), this.length());

68 return this.length() - sequence.length();
75 return this.subSequence(0, start).append(this.subSequence(end, this.length()));
88 if (rope.hashCode() != this.hashCode() || rope.length() != this.length())
115 if (this.hashCode == 0 && this.length() > 0) {
116 if (this.length() < 6) {
123 this.hashCode = 31 * this.hashCode + this.charAt(this.length() - 1);
147 if (offset < 0 || offset > this.length())
149 if (offset + prefix.length() > this.length())
153 for (Iterator<Character> i=this.iterator(offset); i.hasNext() && x < prefix.length(); ) {
167 return startsWith(suffix, length() - suffix.length() - offset);
172 if (fromIndex < 0 || fromIndex >= this.length())
196 final int length = sequence.length();
197 if (length == 0)
199 if (length == 1)
203 Arrays.fill(bcs, length);
206 for (int j=0; j<length-1; ++j) {
209 bcs[l] = Math.min(length - j - 1, bcs[l]);
213 for (int j=fromIndex+length-1; j<this.length();) {
214 int x=j, y=length-1;
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()));
259 return this.subSequence(index, this.length());
289 int index = this.length() + 1;
296 if (index >= this.length())
304 final StringWriter out = new StringWriter(this.length());
331 final int toPad = toWidth - this.length();
346 final int toPad = toWidth - this.length();
356 return length() == 0;