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

/ropes-1.1.3/src/org/ahmadsoft/ropes/impl/
H A DConcatenationRopeIteratorImpl.java40 private final ArrayDeque<Rope> toTraverse; field in class:ConcatenationRopeIteratorImpl
52 this.toTraverse = new ArrayDeque<Rope>();
53 this.toTraverse.push(rope);
73 return this.currentRopePos < this.currentRope.length() - 1 || !this.toTraverse.isEmpty();
80 while (!this.toTraverse.isEmpty()) {
81 this.currentRope = this.toTraverse.pop();
83 this.toTraverse.push(((ConcatenationRope) this.currentRope).getRight());
84 this.toTraverse.push(((ConcatenationRope) this.currentRope).getLeft());
112 if (this.toTraverse.isEmpty()) {
117 while (!this.toTraverse
[all...]
H A DConcatenationRopeReverseIteratorImpl.java40 private final ArrayDeque<Rope> toTraverse; field in class:ConcatenationRopeReverseIteratorImpl
54 this.toTraverse = new ArrayDeque<Rope>();
55 this.toTraverse.push(rope);
75 return this.currentRopePos > 0 || !this.toTraverse.isEmpty();
82 while (!this.toTraverse.isEmpty()) {
83 this.currentRope = this.toTraverse.pop();
85 this.toTraverse.push(((ConcatenationRope) this.currentRope).getLeft());
86 this.toTraverse.push(((ConcatenationRope) this.currentRope).getRight());
113 if (remainingAmt > 0 && this.toTraverse.isEmpty())
116 while (!this.toTraverse
[all...]

Completed in 2 milliseconds