/ropes-1.1.3/src/org/ahmadsoft/ropes/impl/ |
H A D | ConcatenationRope.java | 115 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 D | AbstractRope.java | 55 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 D | FlatCharSequenceRope.java | 122 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 D | ReverseRope.java | 120 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 D | SubstringRope.java | 140 public Rope subSequence(final int start, final int end) {
method in class:SubstringRope
|
H A D | FlatCharArrayRope.java | 202 public Rope subSequence(final int start, final int end) {
method in class:FlatCharArrayRope
|
/ropes-1.1.3/src/org/ahmadsoft/ropes/ |
H A D | Rope.java | 286 Rope subSequence(int start, int end);
method in interface:Rope
|
/ropes-1.1.3/src/org/ahmadsoft/ropes/test/ |
H A D | RopeTest.java | 132 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 D | PerformanceTest.java | 496 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));
|