Searched refs:ConcatenationRope (Results 1 - 6 of 6) sorted by relevance

/ropes-1.2.5/src/org/ahmadsoft/ropes/impl/
H A DRopeUtilities.java78 if (!(left instanceof ConcatenationRope)) {
79 if (right instanceof ConcatenationRope) {
80 final ConcatenationRope cRight = (ConcatenationRope) right;
82 return this.autoRebalance(new ConcatenationRope(new FlatCharSequenceRope(left.toString() + cRight.getLeft().toString()), cRight.getRight()));
85 if (!(right instanceof ConcatenationRope)) {
86 if (left instanceof ConcatenationRope) {
87 final ConcatenationRope cLeft = (ConcatenationRope) left;
89 return this.autoRebalance(new ConcatenationRope(cLef
[all...]
H A DConcatenationRopeIteratorImpl.java82 if (this.currentRope instanceof ConcatenationRope) {
83 this.toTraverse.push(((ConcatenationRope) this.currentRope).getRight());
84 this.toTraverse.push(((ConcatenationRope) this.currentRope).getLeft());
119 if (this.currentRope instanceof ConcatenationRope) {
120 this.toTraverse.push(((ConcatenationRope) this.currentRope).getRight());
121 this.toTraverse.push(((ConcatenationRope) this.currentRope).getLeft());
H A DConcatenationRopeReverseIteratorImpl.java84 if (this.currentRope instanceof ConcatenationRope) {
85 this.toTraverse.push(((ConcatenationRope) this.currentRope).getLeft());
86 this.toTraverse.push(((ConcatenationRope) this.currentRope).getRight());
118 if (this.currentRope instanceof ConcatenationRope) {
119 this.toTraverse.push(((ConcatenationRope) this.currentRope).getLeft());
120 this.toTraverse.push(((ConcatenationRope) this.currentRope).getRight());
H A DConcatenationRope.java2 * ConcatenationRope.java
35 public final class ConcatenationRope extends AbstractRope { class in inherits:AbstractRope
47 public ConcatenationRope(final Rope left, final Rope right) { method in class:ConcatenationRope
212 // private ConcatenationRope rotateLeft(final ConcatenationRope input) {
214 // if (!(_R instanceof ConcatenationRope))
216 // final ConcatenationRope R = (ConcatenationRope) _R;
220 // return new ConcatenationRope(new ConcatenationRope(
[all...]
/ropes-1.2.5/src/org/ahmadsoft/ropes/test/
H A DRopeTest.java39 import org.ahmadsoft.ropes.impl.ConcatenationRope;
112 Rope x2 = new ConcatenationRope(x1, x1);
136 ConcatenationRope c1 = new ConcatenationRope(x1, x2);
137 ConcatenationRope c2 = new ConcatenationRope(c1, x3);
149 Rope z4 = new ConcatenationRope(z3, new SubstringRope(z1, 6, 2)); // 2367
189 Rope x3 = new ConcatenationRope(x1, x2);
201 Rope x3 = new ConcatenationRope(x1, x2);
250 Rope r2 = new ConcatenationRope(ne
[all...]
/ropes-1.2.5/
H A Dropes.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ahmadsoft/ org/ahmadsoft/ropes/ org/ahmadsoft/ropes/impl/ ...

Completed in 28 milliseconds