Searched refs:subSequence (Results 1 - 9 of 9) sorted by relevance

/ropes-1.1.3/src/org/ahmadsoft/ropes/impl/
H A DConcatenationRope.java115 public CharSequence subSequence(final int start, final int end) {
116 return rope.subSequence(start, end);
176 public Rope subSequence(final int start, final int end) { method in class:ConcatenationRope
183 return this.left.subSequence(start, end);
185 return this.right.subSequence(start - l, end - l);
187 this.left.subSequence(start, l),
188 this.right.subSequence(0, end - l));
H A DAbstractRope.java55 return RopeUtilities.INSTANCE.concatenate(this, Rope.BUILDER.build(csq).subSequence(start, end));
75 return this.subSequence(0, start).append(this.subSequence(end, this.length()));
210 return this.subSequence(0, dstOffset).append(r).append(this.subSequence(dstOffset, this.length()));
229 return this.subSequence(index, this.length());
269 return this.subSequence(0, index);
H A DFlatCharSequenceRope.java122 public Rope subSequence(final int start, final int end) { method in class:FlatCharSequenceRope
126 return new FlatCharSequenceRope(this.sequence.subSequence(start, end));
138 return this.sequence.subSequence(offset, offset + length).toString();
H A DReverseRope.java120 public Rope subSequence(final int start, final int end) { method in class:ReverseRope
123 return this.rope.subSequence(this.length() - end, this.length() - start).reverse();
H A DSubstringRope.java140 public Rope subSequence(final int start, final int end) { method in class:SubstringRope
H A DFlatCharArrayRope.java202 public Rope subSequence(final int start, final int end) { method in class:FlatCharArrayRope
/ropes-1.1.3/src/org/ahmadsoft/ropes/
H A DRope.java286 Rope subSequence(int start, int end); method in interface:Rope
/ropes-1.1.3/src/org/ahmadsoft/ropes/test/
H A DRopeTest.java132 assertEquals("654321", x3.reverse().subSequence(1, 7).toString());
239 r1 = r1.subSequence(0, 5).append(r1);
241 r1 = r1.append(r1.subSequence(5, 15));
265 assertTrue(phrase.subSequence(7, 27).equals(r1.subSequence(7, 27).toString()));
H A DPerformanceTest.java496 result = result.append(result.subSequence(offset, offset+length));
529 result = result.insert(into, result.subSequence(offset, offset+length));
547 result = result.insert(into, bensAuto.subSequence(offset, offset+length));
563 result = result.subSequence(offset, offset+length).append(result);
647 result.append(result.subSequence(offset, offset+length));
680 result.insert(into, result.subSequence(offset, offset+length));
698 result.insert(into, bensAuto.subSequence(offset, offset+length));
714 result.insert(0, result.subSequence(offset, offset+length));

Completed in 20 milliseconds