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();
62 return this.right.charAt(index - this.left.length());
131 * Return the right-hand rope.
132 * @return the right-hand rope.
135 return this.right;
143 return this.right.iterator(start - this.left.length());
168 if (start >= this.right.length()) {
169 return this.left.reverseIterator(start - this.right.length());
185 return this.right.subSequence(start - l, end - l);
188 this.right.subSequence(0, end - l));
194 this.right.write(out);
202 this.right.write(out, offset - this.left.length(), length);
206 this.right.write(out, 0, this.right.length() - writeLeft);