Searched refs:write (Results 1 - 8 of 8) sorted by relevance

/ropes-1.1.3/src/org/ahmadsoft/ropes/impl/
H A DConcatenationRope.java192 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 DReverseRope.java127 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 DFlatCharSequenceRope.java142 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 DSubstringRope.java152 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 DFlatCharArrayRope.java223 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 DAbstractRope.java276 this.write(out);
/ropes-1.1.3/src/org/ahmadsoft/ropes/
H A DRope.java299 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 DPerformanceTest.java355 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...]

Completed in 4 milliseconds