/ropes-1.1.3/src/org/ahmadsoft/ropes/impl/ |
H A D | ConcatenationRope.java | 192 public void write(final Writer out) throws IOException {
method in class:ConcatenationRope 193 this.left.write(out);
194 this.right.write(out);
198 public void write(final Writer out, final int offset, final int length) throws IOException {
method in class:ConcatenationRope 200 this.left.write(out, offset, length);
202 this.right.write(out, offset - this.left.length(), length);
205 this.left.write(out, offset, writeLeft);
206 this.right.write(out, 0, this.right.length() - writeLeft);
|
H A D | ReverseRope.java | 127 public void write(final Writer out) throws IOException {
method in class:ReverseRope 128 this.write(out, 0, this.length());
132 public void write(final Writer out, final int offset, final int length) throws IOException {
method in class:ReverseRope 136 out.write(this.charAt(j));
|
H A D | FlatCharSequenceRope.java | 142 public void write(final Writer out) throws IOException {
method in class:FlatCharSequenceRope 143 this.write(out, 0, this.length());
147 public void write(final Writer out, final int offset, final int length) throws IOException {
method in class:FlatCharSequenceRope 152 out.write(((String) this.sequence).substring(offset, offset+length));
156 out.write(this.sequence.charAt(j));
|
H A D | SubstringRope.java | 152 public void write(final Writer out) throws IOException {
method in class:SubstringRope 153 this.rope.write(out, this.offset, this.length);
157 public void write(final Writer out, final int offset, final int length) throws IOException {
method in class:SubstringRope 158 this.rope.write(out, this.offset + offset, this.length + length);
|
H A D | FlatCharArrayRope.java | 223 public void write(final Writer out) throws IOException {
method in class:FlatCharArrayRope 224 this.write(out, 0, this.length());
228 public void write(final Writer out, final int offset, final int length) throws IOException {
method in class:FlatCharArrayRope 229 out.write(this.sequence, offset, length);
|
H A D | AbstractRope.java | 276 this.write(out);
|
/ropes-1.1.3/src/org/ahmadsoft/ropes/ |
H A D | Rope.java | 299 public void write(Writer out) throws IOException;
method in interface:Rope 307 public void write(Writer out, int offset, int length) throws IOException;
method in interface:Rope
|
/ropes-1.1.3/src/org/ahmadsoft/ropes/test/ |
H A D | PerformanceTest.java | 355 System.out.println("* Illustrates how to write a Rope to a stream efficiently.");
363 stat(System.out, stats0, "ns", "[Out.write]");
364 stat(System.out, stats1, "ns", "[Rope.write]");
437 complexRope.write(out);
442 System.out.printf("[Rope.write] Executed write in % ,18d ns.\n", (y-x));
452 out.write(complexRope.toString());
457 System.out.printf("[Out.write] Executed write in % ,18d ns.\n", (y-x));
468 out.write( [all...] |