Searched refs:right (Results 1 - 3 of 3) sorted by relevance

/ropes-1.2.5/src/org/ahmadsoft/ropes/impl/
H A DConcatenationRope.java38 private final Rope right; field in class:ConcatenationRope
45 * @param right the second rope.
47 public ConcatenationRope(final Rope left, final Rope right) { argument
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
[all...]
H A DRopeUtilities.java62 * @param right the second rope.
65 Rope concatenate(final Rope left, final Rope right) { argument
67 return right;
68 if (right.length() == 0)
70 if ((long) left.length() + right.length() > Integer.MAX_VALUE)
72 "Left length=" + left.length() + ", right length=" + right.length()
75 if (left.length() + right.length() < combineLength) {
76 return new FlatCharSequenceRope(left.toString() + right.toString());
79 if (right instanceo
[all...]
/ropes-1.2.5/
H A Dropes.jar ... left private final org.ahmadsoft.ropes.Rope right private final byte depth private final int length public void ...

Completed in 7 milliseconds