Lines Matching refs:right
38 private final Rope right;
45 * @param right the second rope.
47 public ConcatenationRope(final Rope left, final Rope right) {
49 this.right = right;
50 this.depth = (byte) (Math.max(RopeUtilities.INSTANCE.depth(left), RopeUtilities.INSTANCE.depth(right)) + 1);
51 this.length = left.length() + right.length();
59 return (index < this.left.length() ? this.left.charAt(index): this.right.charAt(index - this.left.length()));
128 * Return the right-hand rope.
129 * @return the right-hand rope.
132 return this.right;
140 return this.right.iterator(start - this.left.length());
165 if (start >= this.right.length()) {
166 return this.left.reverseIterator(start - this.right.length());
182 return this.right.subSequence(start - l, end - l);
185 this.right.subSequence(0, end - l));
191 this.right.write(out);
199 this.right.write(out, offset - this.left.length(), length);
203 this.right.write(out, 0, length - writeLeft);