1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0) on Sat Dec 29 16:44:59 EST 2007 --> 6<TITLE> 7SubstringRope 8</TITLE> 9 10<META NAME="date" CONTENT="2007-12-29"> 11 12<LINK REL ="stylesheet" TYPE="text/css" HREF="/stylesheet.css" TITLE="Style"> 13 14<SCRIPT type="text/javascript"> 15function windowTitle() 16{ 17 if (location.href.indexOf('is-external=true') == -1) { 18 parent.document.title="SubstringRope"; 19 } 20} 21</SCRIPT> 22<NOSCRIPT> 23</NOSCRIPT> 24 25</HEAD> 26 27<BODY BGCOLOR="white" onload="windowTitle();"> 28<HR> 29 30 31<!-- ========= START OF TOP NAVBAR ======= --> 32<A NAME="navbar_top"><!-- --></A> 33<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 35<TR> 36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 37<A NAME="navbar_top_firstrow"><!-- --></A> 38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 39 <TR ALIGN="center" VALIGN="top"> 40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 47 </TR> 48</TABLE> 49</TD> 50<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 51</EM> 52</TD> 53</TR> 54 55<TR> 56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 57 <A HREF="/org/ahmadsoft/ropes/impl/RopeIterator.html" title="interface in org.ahmadsoft.ropes.impl"><B>PREV CLASS</B></A> 58 NEXT CLASS</FONT></TD> 59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 60 <A HREF="/index.html?org/ahmadsoft/ropes/impl/SubstringRope.html" target="_top"><B>FRAMES</B></A> 61 <A HREF="SubstringRope.html" target="_top"><B>NO FRAMES</B></A> 62 <SCRIPT type="text/javascript"> 63 <!-- 64 if(window==top) { 65 document.writeln('<A HREF="/allclasses-noframe.html"><B>All Classes</B></A>'); 66 } 67 //--> 68</SCRIPT> 69<NOSCRIPT> 70 <A HREF="/allclasses-noframe.html"><B>All Classes</B></A> 71</NOSCRIPT> 72 73 74</FONT></TD> 75</TR> 76<TR> 77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 78 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 80DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 81</TR> 82</TABLE> 83<A NAME="skip-navbar_top"></A> 84<!-- ========= END OF TOP NAVBAR ========= --> 85 86<HR> 87<!-- ======== START OF CLASS DATA ======== --> 88<H2> 89<FONT SIZE="-1"> 90org.ahmadsoft.ropes.impl</FONT> 91<BR> 92Class SubstringRope</H2> 93<PRE> 94java.lang.Object 95 <IMG SRC="/resources/inherit.gif" ALT="extended by "><A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html" title="class in org.ahmadsoft.ropes.impl">org.ahmadsoft.ropes.impl.AbstractRope</A> 96 <IMG SRC="/resources/inherit.gif" ALT="extended by "><B>org.ahmadsoft.ropes.impl.SubstringRope</B> 97</PRE> 98<DL> 99<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, java.lang.CharSequence, java.lang.Comparable<java.lang.CharSequence>, java.lang.Iterable<java.lang.Character>, <A HREF="/org/ahmadsoft/ropes/Rope.html" title="interface in org.ahmadsoft.ropes">Rope</A></DD> 100</DL> 101<HR> 102<DL> 103<DT><PRE>public class <B>SubstringRope</B><DT>extends <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html" title="class in org.ahmadsoft.ropes.impl">AbstractRope</A></DL> 104</PRE> 105 106<P> 107Represents a lazily-evaluated substring of another rope. For performance 108 reasons, the target rope must be a <code>FlatRope</code>. 109<P> 110 111<P> 112<DL> 113<DT><B>Author:</B></DT> 114 <DD>aahmad</DD> 115<DT><B>See Also:</B><DD><A HREF="/serialized-form.html#org.ahmadsoft.ropes.impl.SubstringRope">Serialized Form</A></DL> 116<HR> 117 118<P> 119<!-- =========== FIELD SUMMARY =========== --> 120 121<A NAME="field_summary"><!-- --></A> 122<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 123<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 124<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 125<B>Field Summary</B></FONT></TH> 126</TR> 127</TABLE> 128 <A NAME="fields_inherited_from_class_org.ahmadsoft.ropes.Rope"><!-- --></A> 129<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 130<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 131<TH ALIGN="left"><B>Fields inherited from interface org.ahmadsoft.ropes.<A HREF="/org/ahmadsoft/ropes/Rope.html" title="interface in org.ahmadsoft.ropes">Rope</A></B></TH> 132</TR> 133<TR BGCOLOR="white" CLASS="TableRowColor"> 134<TD><CODE><A HREF="/org/ahmadsoft/ropes/Rope.html#BUILDER">BUILDER</A></CODE></TD> 135</TR> 136</TABLE> 137 138<!-- ======== CONSTRUCTOR SUMMARY ======== --> 139 140<A NAME="constructor_summary"><!-- --></A> 141<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 142<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 143<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 144<B>Constructor Summary</B></FONT></TH> 145</TR> 146<TR BGCOLOR="white" CLASS="TableRowColor"> 147<TD><CODE><B><A HREF="/org/ahmadsoft/ropes/impl/SubstringRope.html#SubstringRope(org.ahmadsoft.ropes.impl.FlatRope, int, int)">SubstringRope</A></B>(org.ahmadsoft.ropes.impl.FlatRope rope, 148 int offset, 149 int length)</CODE> 150 151<BR> 152 </TD> 153</TR> 154</TABLE> 155 156<!-- ========== METHOD SUMMARY =========== --> 157 158<A NAME="method_summary"><!-- --></A> 159<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 160<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 161<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 162<B>Method Summary</B></FONT></TH> 163</TR> 164<TR BGCOLOR="white" CLASS="TableRowColor"> 165<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 166<CODE> char</CODE></FONT></TD> 167<TD><CODE><B><A HREF="/org/ahmadsoft/ropes/impl/SubstringRope.html#charAt(int)">charAt</A></B>(int index)</CODE> 168 169<BR> 170 </TD> 171</TR> 172<TR BGCOLOR="white" CLASS="TableRowColor"> 173<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 174<CODE> byte</CODE></FONT></TD> 175<TD><CODE><B><A HREF="/org/ahmadsoft/ropes/impl/SubstringRope.html#depth()">depth</A></B>()</CODE> 176 177<BR> 178 </TD> 179</TR> 180<TR BGCOLOR="white" CLASS="TableRowColor"> 181<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 182<CODE> <A HREF="/org/ahmadsoft/ropes/Rope.html" title="interface in org.ahmadsoft.ropes">Rope</A></CODE></FONT></TD> 183<TD><CODE><B><A HREF="/org/ahmadsoft/ropes/impl/SubstringRope.html#getRope()">getRope</A></B>()</CODE> 184 185<BR> 186 Returns the rope underlying this one.</TD> 187</TR> 188<TR BGCOLOR="white" CLASS="TableRowColor"> 189<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 190<CODE> java.util.Iterator<java.lang.Character></CODE></FONT></TD> 191<TD><CODE><B><A HREF="/org/ahmadsoft/ropes/impl/SubstringRope.html#iterator(int)">iterator</A></B>(int start)</CODE> 192 193<BR> 194 Returns an iterator positioned to start at the specified index.</TD> 195</TR> 196<TR BGCOLOR="white" CLASS="TableRowColor"> 197<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 198<CODE> int</CODE></FONT></TD> 199<TD><CODE><B><A HREF="/org/ahmadsoft/ropes/impl/SubstringRope.html#length()">length</A></B>()</CODE> 200 201<BR> 202 </TD> 203</TR> 204<TR BGCOLOR="white" CLASS="TableRowColor"> 205<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 206<CODE> <A HREF="/org/ahmadsoft/ropes/Rope.html" title="interface in org.ahmadsoft.ropes">Rope</A></CODE></FONT></TD> 207<TD><CODE><B><A HREF="/org/ahmadsoft/ropes/impl/SubstringRope.html#reverse()">reverse</A></B>()</CODE> 208 209<BR> 210 Reverses this rope.</TD> 211</TR> 212<TR BGCOLOR="white" CLASS="TableRowColor"> 213<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 214<CODE> java.util.Iterator<java.lang.Character></CODE></FONT></TD> 215<TD><CODE><B><A HREF="/org/ahmadsoft/ropes/impl/SubstringRope.html#reverseIterator(int)">reverseIterator</A></B>(int start)</CODE> 216 217<BR> 218 Returns a reverse iterator positioned to start at the specified index.</TD> 219</TR> 220<TR BGCOLOR="white" CLASS="TableRowColor"> 221<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 222<CODE> <A HREF="/org/ahmadsoft/ropes/Rope.html" title="interface in org.ahmadsoft.ropes">Rope</A></CODE></FONT></TD> 223<TD><CODE><B><A HREF="/org/ahmadsoft/ropes/impl/SubstringRope.html#subSequence(int, int)">subSequence</A></B>(int start, 224 int end)</CODE> 225 226<BR> 227 </TD> 228</TR> 229<TR BGCOLOR="white" CLASS="TableRowColor"> 230<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 231<CODE> java.lang.String</CODE></FONT></TD> 232<TD><CODE><B><A HREF="/org/ahmadsoft/ropes/impl/SubstringRope.html#toString()">toString</A></B>()</CODE> 233 234<BR> 235 </TD> 236</TR> 237<TR BGCOLOR="white" CLASS="TableRowColor"> 238<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 239<CODE> void</CODE></FONT></TD> 240<TD><CODE><B><A HREF="/org/ahmadsoft/ropes/impl/SubstringRope.html#write(java.io.Writer)">write</A></B>(java.io.Writer out)</CODE> 241 242<BR> 243 Write this rope to a <code>Writer</code>.</TD> 244</TR> 245<TR BGCOLOR="white" CLASS="TableRowColor"> 246<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 247<CODE> void</CODE></FONT></TD> 248<TD><CODE><B><A HREF="/org/ahmadsoft/ropes/impl/SubstringRope.html#write(java.io.Writer, int, int)">write</A></B>(java.io.Writer out, 249 int offset, 250 int length)</CODE> 251 252<BR> 253 Write a range of this rope to a <code>Writer</code>.</TD> 254</TR> 255</TABLE> 256 <A NAME="methods_inherited_from_class_org.ahmadsoft.ropes.impl.AbstractRope"><!-- --></A> 257<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 258<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 259<TH ALIGN="left"><B>Methods inherited from class org.ahmadsoft.ropes.impl.<A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html" title="class in org.ahmadsoft.ropes.impl">AbstractRope</A></B></TH> 260</TR> 261<TR BGCOLOR="white" CLASS="TableRowColor"> 262<TD><CODE><A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#append(char)">append</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#append(java.lang.CharSequence)">append</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#append(java.lang.CharSequence, int, int)">append</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#compareTo(java.lang.CharSequence)">compareTo</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#delete(int, int)">delete</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#equals(java.lang.Object)">equals</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#hashCode()">hashCode</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#indexOf(char)">indexOf</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#indexOf(char, int)">indexOf</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#indexOf(java.lang.CharSequence)">indexOf</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#indexOf(java.lang.CharSequence, int)">indexOf</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#insert(int, java.lang.CharSequence)">insert</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#iterator()">iterator</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#ltrim()">ltrim</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#matcher(java.util.regex.Pattern)">matcher</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#matches(java.util.regex.Pattern)">matches</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#matches(java.lang.String)">matches</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#rebalance()">rebalance</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#reverseIterator()">reverseIterator</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#rtrim()">rtrim</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#trim()">trim</A>, <A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#writeReplace()">writeReplace</A></CODE></TD> 263</TR> 264</TABLE> 265 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 266<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 267<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 268<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> 269</TR> 270<TR BGCOLOR="white" CLASS="TableRowColor"> 271<TD><CODE>getClass, notify, notifyAll, wait, wait, wait</CODE></TD> 272</TR> 273</TABLE> 274 275<P> 276 277<!-- ========= CONSTRUCTOR DETAIL ======== --> 278 279<A NAME="constructor_detail"><!-- --></A> 280<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 281<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 282<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 283<B>Constructor Detail</B></FONT></TH> 284</TR> 285</TABLE> 286 287<A NAME="SubstringRope(org.ahmadsoft.ropes.impl.FlatRope, int, int)"><!-- --></A><H3> 288SubstringRope</H3> 289<PRE> 290public <B>SubstringRope</B>(org.ahmadsoft.ropes.impl.FlatRope rope, 291 int offset, 292 int length)</PRE> 293<DL> 294</DL> 295 296<!-- ============ METHOD DETAIL ========== --> 297 298<A NAME="method_detail"><!-- --></A> 299<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 300<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 301<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 302<B>Method Detail</B></FONT></TH> 303</TR> 304</TABLE> 305 306<A NAME="charAt(int)"><!-- --></A><H3> 307charAt</H3> 308<PRE> 309public char <B>charAt</B>(int index)</PRE> 310<DL> 311<DD><DL> 312</DL> 313</DD> 314</DL> 315<HR> 316 317<A NAME="depth()"><!-- --></A><H3> 318depth</H3> 319<PRE> 320public byte <B>depth</B>()</PRE> 321<DL> 322<DD><DL> 323<DT><B>Specified by:</B><DD><CODE><A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#depth()">depth</A></CODE> in class <CODE><A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html" title="class in org.ahmadsoft.ropes.impl">AbstractRope</A></CODE></DL> 324</DD> 325<DD><DL> 326</DL> 327</DD> 328</DL> 329<HR> 330 331<A NAME="getRope()"><!-- --></A><H3> 332getRope</H3> 333<PRE> 334public <A HREF="/org/ahmadsoft/ropes/Rope.html" title="interface in org.ahmadsoft.ropes">Rope</A> <B>getRope</B>()</PRE> 335<DL> 336<DD>Returns the rope underlying this one. 337<P> 338<DD><DL> 339 340<DT><B>Returns:</B><DD>the rope underlying this one.</DL> 341</DD> 342</DL> 343<HR> 344 345<A NAME="iterator(int)"><!-- --></A><H3> 346iterator</H3> 347<PRE> 348public java.util.Iterator<java.lang.Character> <B>iterator</B>(int start)</PRE> 349<DL> 350<DD><B>Description copied from interface: <CODE><A HREF="/org/ahmadsoft/ropes/Rope.html#iterator(int)">Rope</A></CODE></B></DD> 351<DD>Returns an iterator positioned to start at the specified index. 352<P> 353<DD><DL> 354<DT><B>Parameters:</B><DD><CODE>start</CODE> - the start position. 355<DT><B>Returns:</B><DD>an iterator positioned to start at the specified index.</DL> 356</DD> 357</DL> 358<HR> 359 360<A NAME="length()"><!-- --></A><H3> 361length</H3> 362<PRE> 363public int <B>length</B>()</PRE> 364<DL> 365<DD><DL> 366</DL> 367</DD> 368</DL> 369<HR> 370 371<A NAME="reverse()"><!-- --></A><H3> 372reverse</H3> 373<PRE> 374public <A HREF="/org/ahmadsoft/ropes/Rope.html" title="interface in org.ahmadsoft.ropes">Rope</A> <B>reverse</B>()</PRE> 375<DL> 376<DD><B>Description copied from interface: <CODE><A HREF="/org/ahmadsoft/ropes/Rope.html#reverse()">Rope</A></CODE></B></DD> 377<DD>Reverses this rope. 378<P> 379<DD><DL> 380 381<DT><B>Returns:</B><DD>a reversed copy of this rope.</DL> 382</DD> 383</DL> 384<HR> 385 386<A NAME="reverseIterator(int)"><!-- --></A><H3> 387reverseIterator</H3> 388<PRE> 389public java.util.Iterator<java.lang.Character> <B>reverseIterator</B>(int start)</PRE> 390<DL> 391<DD><B>Description copied from interface: <CODE><A HREF="/org/ahmadsoft/ropes/Rope.html#reverseIterator(int)">Rope</A></CODE></B></DD> 392<DD>Returns a reverse iterator positioned to start at the specified index. 393 A reverse iterator moves backwards instead of forwards through a rope. 394<P> 395<DD><DL> 396<DT><B>Parameters:</B><DD><CODE>start</CODE> - the start position. 397<DT><B>Returns:</B><DD>a reverse iterator positioned to start at the specified index from 398 the end of the rope. For example, a value of 1 indicates the iterator 399 should start 1 character before the end of the rope.<DT><B>See Also:</B><DD><A HREF="/org/ahmadsoft/ropes/Rope.html#reverseIterator()"><CODE>Rope.reverseIterator()</CODE></A></DL> 400</DD> 401</DL> 402<HR> 403 404<A NAME="subSequence(int, int)"><!-- --></A><H3> 405subSequence</H3> 406<PRE> 407public <A HREF="/org/ahmadsoft/ropes/Rope.html" title="interface in org.ahmadsoft.ropes">Rope</A> <B>subSequence</B>(int start, 408 int end)</PRE> 409<DL> 410<DD><DL> 411</DL> 412</DD> 413</DL> 414<HR> 415 416<A NAME="toString()"><!-- --></A><H3> 417toString</H3> 418<PRE> 419public java.lang.String <B>toString</B>()</PRE> 420<DL> 421<DD><DL> 422<DT><B>Specified by:</B><DD><CODE>toString</CODE> in interface <CODE>java.lang.CharSequence</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html#toString()">toString</A></CODE> in class <CODE><A HREF="/org/ahmadsoft/ropes/impl/AbstractRope.html" title="class in org.ahmadsoft.ropes.impl">AbstractRope</A></CODE></DL> 423</DD> 424<DD><DL> 425</DL> 426</DD> 427</DL> 428<HR> 429 430<A NAME="write(java.io.Writer)"><!-- --></A><H3> 431write</H3> 432<PRE> 433public void <B>write</B>(java.io.Writer out) 434 throws java.io.IOException</PRE> 435<DL> 436<DD><B>Description copied from interface: <CODE><A HREF="/org/ahmadsoft/ropes/Rope.html#write(java.io.Writer)">Rope</A></CODE></B></DD> 437<DD>Write this rope to a <code>Writer</code>. 438<P> 439<DD><DL> 440<DT><B>Parameters:</B><DD><CODE>out</CODE> - the writer object. 441<DT><B>Throws:</B> 442<DD><CODE>java.io.IOException</CODE></DL> 443</DD> 444</DL> 445<HR> 446 447<A NAME="write(java.io.Writer, int, int)"><!-- --></A><H3> 448write</H3> 449<PRE> 450public void <B>write</B>(java.io.Writer out, 451 int offset, 452 int length) 453 throws java.io.IOException</PRE> 454<DL> 455<DD><B>Description copied from interface: <CODE><A HREF="/org/ahmadsoft/ropes/Rope.html#write(java.io.Writer, int, int)">Rope</A></CODE></B></DD> 456<DD>Write a range of this rope to a <code>Writer</code>. 457<P> 458<DD><DL> 459<DT><B>Parameters:</B><DD><CODE>out</CODE> - the writer object.<DD><CODE>offset</CODE> - the range offset.<DD><CODE>length</CODE> - the range length. 460<DT><B>Throws:</B> 461<DD><CODE>java.io.IOException</CODE></DL> 462</DD> 463</DL> 464<!-- ========= END OF CLASS DATA ========= --> 465<HR> 466 467 468<!-- ======= START OF BOTTOM NAVBAR ====== --> 469<A NAME="navbar_bottom"><!-- --></A> 470<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 471<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 472<TR> 473<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 474<A NAME="navbar_bottom_firstrow"><!-- --></A> 475<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 476 <TR ALIGN="center" VALIGN="top"> 477 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 478 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 479 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 480 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 481 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 482 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 483 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 484 </TR> 485</TABLE> 486</TD> 487<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 488</EM> 489</TD> 490</TR> 491 492<TR> 493<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 494 <A HREF="/org/ahmadsoft/ropes/impl/RopeIterator.html" title="interface in org.ahmadsoft.ropes.impl"><B>PREV CLASS</B></A> 495 NEXT CLASS</FONT></TD> 496<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 497 <A HREF="/index.html?org/ahmadsoft/ropes/impl/SubstringRope.html" target="_top"><B>FRAMES</B></A> 498 <A HREF="SubstringRope.html" target="_top"><B>NO FRAMES</B></A> 499 <SCRIPT type="text/javascript"> 500 <!-- 501 if(window==top) { 502 document.writeln('<A HREF="/allclasses-noframe.html"><B>All Classes</B></A>'); 503 } 504 //--> 505</SCRIPT> 506<NOSCRIPT> 507 <A HREF="/allclasses-noframe.html"><B>All Classes</B></A> 508</NOSCRIPT> 509 510 511</FONT></TD> 512</TR> 513<TR> 514<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 515 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 516<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 517DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 518</TR> 519</TABLE> 520<A NAME="skip-navbar_bottom"></A> 521<!-- ======== END OF BOTTOM NAVBAR ======= --> 522 523<HR> 524<i>Copyright © 2007 Amin Ahmad. All Rights Reserved.</i> 525</BODY> 526</HTML> 527