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:58 EST 2007 --> 6<TITLE> 7RopeBuilder 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="RopeBuilder"; 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/Rope.html" title="interface in org.ahmadsoft.ropes"><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/RopeBuilder.html" target="_top"><B>FRAMES</B></A> 61 <A HREF="RopeBuilder.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</FONT> 91<BR> 92Class RopeBuilder</H2> 93<PRE> 94java.lang.Object 95 <IMG SRC="/resources/inherit.gif" ALT="extended by "><B>org.ahmadsoft.ropes.RopeBuilder</B> 96</PRE> 97<HR> 98<DL> 99<DT><PRE>public final class <B>RopeBuilder</B><DT>extends java.lang.Object</DL> 100</PRE> 101 102<P> 103A factory for building ropes. 104<P> 105 106<P> 107<DL> 108<DT><B>Author:</B></DT> 109 <DD>Amin Ahmad</DD> 110</DL> 111<HR> 112 113<P> 114 115<!-- ======== CONSTRUCTOR SUMMARY ======== --> 116 117<A NAME="constructor_summary"><!-- --></A> 118<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 119<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 120<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 121<B>Constructor Summary</B></FONT></TH> 122</TR> 123<TR BGCOLOR="white" CLASS="TableRowColor"> 124<TD><CODE><B><A HREF="/org/ahmadsoft/ropes/RopeBuilder.html#RopeBuilder()">RopeBuilder</A></B>()</CODE> 125 126<BR> 127 </TD> 128</TR> 129</TABLE> 130 131<!-- ========== METHOD SUMMARY =========== --> 132 133<A NAME="method_summary"><!-- --></A> 134<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 135<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 136<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 137<B>Method Summary</B></FONT></TH> 138</TR> 139<TR BGCOLOR="white" CLASS="TableRowColor"> 140<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 141<CODE> <A HREF="/org/ahmadsoft/ropes/Rope.html" title="interface in org.ahmadsoft.ropes">Rope</A></CODE></FONT></TD> 142<TD><CODE><B><A HREF="/org/ahmadsoft/ropes/RopeBuilder.html#build(char[])">build</A></B>(char[] sequence)</CODE> 143 144<BR> 145 Construct a rope from a character array.</TD> 146</TR> 147<TR BGCOLOR="white" CLASS="TableRowColor"> 148<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 149<CODE> <A HREF="/org/ahmadsoft/ropes/Rope.html" title="interface in org.ahmadsoft.ropes">Rope</A></CODE></FONT></TD> 150<TD><CODE><B><A HREF="/org/ahmadsoft/ropes/RopeBuilder.html#build(java.lang.CharSequence)">build</A></B>(java.lang.CharSequence sequence)</CODE> 151 152<BR> 153 Construct a rope from an underlying character sequence.</TD> 154</TR> 155</TABLE> 156 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 157<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 158<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 159<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> 160</TR> 161<TR BGCOLOR="white" CLASS="TableRowColor"> 162<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> 163</TR> 164</TABLE> 165 166<P> 167 168<!-- ========= CONSTRUCTOR DETAIL ======== --> 169 170<A NAME="constructor_detail"><!-- --></A> 171<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 172<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 173<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 174<B>Constructor Detail</B></FONT></TH> 175</TR> 176</TABLE> 177 178<A NAME="RopeBuilder()"><!-- --></A><H3> 179RopeBuilder</H3> 180<PRE> 181public <B>RopeBuilder</B>()</PRE> 182<DL> 183</DL> 184 185<!-- ============ METHOD DETAIL ========== --> 186 187<A NAME="method_detail"><!-- --></A> 188<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 189<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 190<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 191<B>Method Detail</B></FONT></TH> 192</TR> 193</TABLE> 194 195<A NAME="build(char[])"><!-- --></A><H3> 196build</H3> 197<PRE> 198public <A HREF="/org/ahmadsoft/ropes/Rope.html" title="interface in org.ahmadsoft.ropes">Rope</A> <B>build</B>(char[] sequence)</PRE> 199<DL> 200<DD>Construct a rope from a character array. 201<P> 202<DD><DL> 203<DT><B>Parameters:</B><DD><CODE>sequence</CODE> - a character array 204<DT><B>Returns:</B><DD>a rope representing the underlying character array.</DL> 205</DD> 206</DL> 207<HR> 208 209<A NAME="build(java.lang.CharSequence)"><!-- --></A><H3> 210build</H3> 211<PRE> 212public <A HREF="/org/ahmadsoft/ropes/Rope.html" title="interface in org.ahmadsoft.ropes">Rope</A> <B>build</B>(java.lang.CharSequence sequence)</PRE> 213<DL> 214<DD>Construct a rope from an underlying character sequence. 215<P> 216<DD><DL> 217<DT><B>Parameters:</B><DD><CODE>sequence</CODE> - the underlying character sequence. 218<DT><B>Returns:</B><DD>a rope representing the underlying character sequnce.</DL> 219</DD> 220</DL> 221<!-- ========= END OF CLASS DATA ========= --> 222<HR> 223 224 225<!-- ======= START OF BOTTOM NAVBAR ====== --> 226<A NAME="navbar_bottom"><!-- --></A> 227<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 228<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 229<TR> 230<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 231<A NAME="navbar_bottom_firstrow"><!-- --></A> 232<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 233 <TR ALIGN="center" VALIGN="top"> 234 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 235 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 236 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 237 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 238 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 239 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 240 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 241 </TR> 242</TABLE> 243</TD> 244<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 245</EM> 246</TD> 247</TR> 248 249<TR> 250<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 251 <A HREF="/org/ahmadsoft/ropes/Rope.html" title="interface in org.ahmadsoft.ropes"><B>PREV CLASS</B></A> 252 NEXT CLASS</FONT></TD> 253<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 254 <A HREF="/index.html?org/ahmadsoft/ropes/RopeBuilder.html" target="_top"><B>FRAMES</B></A> 255 <A HREF="RopeBuilder.html" target="_top"><B>NO FRAMES</B></A> 256 <SCRIPT type="text/javascript"> 257 <!-- 258 if(window==top) { 259 document.writeln('<A HREF="/allclasses-noframe.html"><B>All Classes</B></A>'); 260 } 261 //--> 262</SCRIPT> 263<NOSCRIPT> 264 <A HREF="/allclasses-noframe.html"><B>All Classes</B></A> 265</NOSCRIPT> 266 267 268</FONT></TD> 269</TR> 270<TR> 271<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 272 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 273<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 274DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 275</TR> 276</TABLE> 277<A NAME="skip-navbar_bottom"></A> 278<!-- ======== END OF BOTTOM NAVBAR ======= --> 279 280<HR> 281<i>Copyright © 2007 Amin Ahmad. All Rights Reserved.</i> 282</BODY> 283</HTML> 284