Lines Matching refs:currentRopePos
43 private int currentRopePos;
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 = this.currentRope.length();
133 return this.currentRope.charAt(this.currentRopePos);