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

/ropes-1.1.3/src/org/ahmadsoft/ropes/impl/
H A DConcatenationRopeReverseIteratorImpl.java43 private int currentRopePos; field in class:ConcatenationRopeReverseIteratorImpl
66 return (this.currentRopePos + amount <= this.currentRope.length());
75 return this.currentRopePos > 0 || !this.toTraverse.isEmpty();
79 * Initialize the currentRope and currentRopePos fields.
93 this.currentRopePos = this.currentRope.length();
100 this.currentRopePos += amount;
108 if (this.currentRopePos - remainingAmt > -1) {
109 this.currentRopePos -= remainingAmt;
112 remainingAmt = remainingAmt - this.currentRopePos;
122 this.currentRopePos
[all...]
H A DConcatenationRopeIteratorImpl.java42 private int currentRopePos; field in class:ConcatenationRopeIteratorImpl
64 return (-1 <= (this.currentRopePos - amount));
73 return this.currentRopePos < this.currentRope.length() - 1 || !this.toTraverse.isEmpty();
77 * Initialize the currentRope and currentRopePos fields.
91 this.currentRopePos = -1;
98 this.currentRopePos -= amount;
106 final int available = this.currentRope.length() - this.currentRopePos - 1;
108 this.currentRopePos += remainingAmt;
123 this.currentRopePos = -1;
134 return this.currentRope.charAt(this.currentRopePos);
[all...]

Completed in 7 milliseconds