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

/ropes-1.1.3/src/org/ahmadsoft/ropes/impl/
H A DConcatenationRopeReverseIteratorImpl.java42 private Rope currentRope; field in class:ConcatenationRopeReverseIteratorImpl
56 this.currentRope = null;
66 return (this.currentRopePos + amount <= this.currentRope.length());
79 * Initialize the currentRope and currentRopePos fields.
83 this.currentRope = this.toTraverse.pop();
84 if (this.currentRope instanceof ConcatenationRope) {
85 this.toTraverse.push(((ConcatenationRope) this.currentRope).getLeft());
86 this.toTraverse.push(((ConcatenationRope) this.currentRope).getRight());
91 if (this.currentRope == null)
93 this.currentRopePos = this.currentRope
[all...]
H A DConcatenationRopeIteratorImpl.java41 private Rope currentRope; field in class:ConcatenationRopeIteratorImpl
54 this.currentRope = null;
73 return this.currentRopePos < this.currentRope.length() - 1 || !this.toTraverse.isEmpty();
77 * Initialize the currentRope and currentRopePos fields.
81 this.currentRope = this.toTraverse.pop();
82 if (this.currentRope instanceof ConcatenationRope) {
83 this.toTraverse.push(((ConcatenationRope) this.currentRope).getRight());
84 this.toTraverse.push(((ConcatenationRope) this.currentRope).getLeft());
89 if (this.currentRope == null)
106 final int available = this.currentRope
[all...]

Completed in 1 milliseconds