equal
deleted
inserted
replaced
31 /** |
31 /** |
32 * This class represents a string composed of two parts which may themselves be |
32 * This class represents a string composed of two parts which may themselves be |
33 * instances of <tt>ConsString</tt> or {@link String}. Copying of characters to |
33 * instances of <tt>ConsString</tt> or {@link String}. Copying of characters to |
34 * a proper string is delayed until it becomes necessary. |
34 * a proper string is delayed until it becomes necessary. |
35 */ |
35 */ |
36 public class ConsString implements CharSequence { |
36 public final class ConsString implements CharSequence { |
37 |
37 |
38 private CharSequence left, right; |
38 private CharSequence left, right; |
39 final private int length; |
39 final private int length; |
40 private boolean flat = false; |
40 private boolean flat = false; |
41 |
41 |