Searched refs:out (Results 1 - 12 of 12) sorted by relevance

/ropes-1.2.5/src/org/ahmadsoft/ropes/test/
H A DPerformanceTest.java80 System.out.println("Read " + aChristmasCarol.length() + " bytes in " + PerformanceTest.time(x,y));
82 System.out.println();
83 System.out.println("**** DELETE PLAN TEST ****");
84 System.out.println();
95 System.out.println("Delete plan length: " + k);
103 stat(System.out, stats0, "ns", "[String]");
104 stat(System.out, stats1, "ns", "[StringBuffer]");
105 stat(System.out, stats2, "ns", "[Rope]");
109 System.out.println();
110 System.out
1070 stat(PrintStream out, long[] stats, String unit, String prefix) argument
[all...]
H A DRopeTest.java48 Writer out = new StringWriter(end - start);
49 rope.write(out, start, end - start);
50 return out.toString();
447 ByteArrayOutputStream out = new ByteArrayOutputStream();
449 ObjectOutputStream oos = new ObjectOutputStream(out);
452 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
/ropes-1.2.5/src/org/ahmadsoft/ropes/impl/
H A DRopeUtilities.java152 * @param out
154 void visualize(final Rope r, final PrintStream out) { argument
155 this.visualize(r, out, (byte) 0);
158 public void visualize(final Rope r, final PrintStream out, final int depth) { argument
160 out.print(RopeUtilities.SPACES.substring(0,depth*2));
161 out.println("\"" + r + "\"");
162 // out.println(r.length());
165 out.print(RopeUtilities.SPACES.substring(0,depth*2));
166 out.println("substring " + r.length() + " \"" + r + "\"");
167 // this.visualize(((SubstringRope)r).getRope(), out, dept
179 stats(final Rope r, final PrintStream out) argument
[all...]
H A DConcatenationRope.java57 throw new IndexOutOfBoundsException("Rope index out of range: " + index);
92 System.out.println("Rope length is: " + rope.length() + " charAt is " + index);
138 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
164 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
189 public void write(final Writer out) throws IOException { argument
190 this.left.write(out);
191 this.right.write(out);
195 public void write(final Writer out, final int offset, final int length) throws IOException { argument
197 this.left.write(out, offset, length);
199 this.right.write(out, offse
[all...]
H A DSerializedRope.java80 public void writeExternal(final ObjectOutput out) throws IOException { argument
83 out.writeUTF(this.rope.toString());
H A DReverseRope.java65 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
97 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
125 public void write(final Writer out) throws IOException { argument
126 this.write(out, 0, this.length());
130 public void write(final Writer out, final int offset, final int length) throws IOException { argument
132 throw new IndexOutOfBoundsException("Rope index out of bounds:" + (offset < 0 ? offset: offset + length));
134 out.write(this.charAt(j));
H A DFlatCharSequenceRope.java62 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
101 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
142 public void write(final Writer out) throws IOException { argument
143 this.write(out, 0, this.length());
147 public void write(final Writer out, final int offset, final int length) throws IOException { argument
149 throw new IndexOutOfBoundsException("Rope index out of bounds:" + (offset < 0 ? offset: offset + length));
152 out.write(((String) this.sequence).substring(offset, offset+length));
156 out.write(this.sequence.charAt(j));
H A DSubstringRope.java54 throw new IndexOutOfBoundsException("Rope index out of range: " + index);
79 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
117 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
153 public void write(final Writer out) throws IOException { argument
154 this.rope.write(out, this.offset, this.length);
158 public void write(final Writer out, final int offset, final int length) throws IOException { argument
159 this.rope.write(out, this.offset + offset, length);
H A DFlatCharArrayRope.java93 throw new IndexOutOfBoundsException("Rope index out of range: " + fromIndex);
148 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
181 throw new IndexOutOfBoundsException("Rope index out of range: " + start);
223 public void write(final Writer out) throws IOException { argument
224 this.write(out, 0, this.length());
228 public void write(final Writer out, final int offset, final int length) throws IOException { argument
229 out.write(this.sequence, offset, length);
H A DAbstractRope.java148 throw new IndexOutOfBoundsException("Rope offset out of range: " + offset);
173 throw new IndexOutOfBoundsException("Rope index out of range: " + fromIndex);
239 throw new IndexOutOfBoundsException(dstOffset + " is out of insert range [" + 0 + ":" + this.length() + "]");
304 final StringWriter out = new StringWriter(this.length());
306 this.write(out);
307 out.close();
311 return out.toString();
/ropes-1.2.5/
H A Dropes.jar ... .io.IOException e java.io.StringWriter out public org.ahmadsoft.ropes.Rope trim () public ...
/ropes-1.2.5/src/org/ahmadsoft/ropes/
H A DRope.java316 * @param out the writer object.
318 public void write(Writer out) throws IOException; argument
322 * @param out the writer object.
326 public void write(Writer out, int offset, int length) throws IOException; argument

Completed in 20 milliseconds