| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="utf-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta name="description" content="API docs for the CatString class from the ex library, for the Dart programming language."> |
| <title>CatString class - ex library - Dart API</title> |
| <!-- required because all the links are pseudo-absolute --> |
| <base href=".."> |
| |
| <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' type='text/css'> |
| <link rel="stylesheet" href="static-assets/prettify.css"> |
| <link rel="stylesheet" href="static-assets/css/bootstrap.min.css"> |
| <link rel="stylesheet" href="static-assets/styles.css"> |
| <link rel="icon" href="static-assets/favicon.png"> |
| |
| <!-- Do not remove placeholder --> |
| <!-- Header Placeholder --> |
| </head> |
| |
| <body> |
| |
| <div id="overlay-under-drawer"></div> |
| |
| <header class="container-fluid" id="title"> |
| <nav class="navbar navbar-fixed-top"> |
| <div class="container"> |
| <div class="row"> |
| <div class="col-sm-12 contents"> |
| <button id="sidenav-left-toggle" type="button"> </button> |
| <ol class="breadcrumbs gt-separated hidden-xs"> |
| <li><a href="index.html">test_package</a></li> |
| <li><a href="ex/ex-library.html">ex</a></li> |
| <li class="self-crumb">CatString</li> |
| </ol> |
| <div class="self-name">CatString</div> |
| <form class="search navbar-right" role="search"> |
| <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search..."> |
| </form> |
| </div> <!-- /col --> |
| </div> <!-- /row --> |
| </div> <!-- /container --> |
| </nav> |
| |
| <div class="container masthead"> |
| <div class="row"> |
| <div class="col-sm-12 contents"> |
| <ol class="breadcrumbs gt-separated visible-xs"> |
| <li><a href="index.html">test_package</a></li> |
| <li><a href="ex/ex-library.html">ex</a></li> |
| <li class="self-crumb">CatString</li> |
| </ol> |
| <div class="title-description"> |
| <h1 class="title"> |
| <span class="kind">class</span> CatString |
| </h1> |
| </div> |
| <ul class="subnav"> |
| <li><a href="ex/CatString-class.html#instance-properties">Properties</a></li> |
| <li><a href="ex/CatString-class.html#constructors">Constructors</a></li> |
| <li><a href="ex/CatString-class.html#operators">Operators</a></li> |
| <li><a href="ex/CatString-class.html#instance-methods">Methods</a></li> |
| </ul> |
| </div> <!-- /col --> |
| </div> <!-- /row --> |
| </div> <!-- /container --> |
| |
| </header> |
| |
| <div class="container body"> |
| <div class="row"> |
| |
| <div class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left"> |
| <h5><a href="index.html">test_package</a></h5> |
| <h5><a href="ex/ex-library.html">ex</a></h5> |
| |
| <ol> |
| <li class="section-title"><a href="ex/ex-library.html#constants">Constants</a></li> |
| <li><a href="ex/COLOR-constant.html">COLOR</a></li> |
| <li><a href="ex/COLOR_GREEN-constant.html">COLOR_GREEN</a></li> |
| <li><a href="ex/COLOR_ORANGE-constant.html">COLOR_ORANGE</a></li> |
| <li><a href="ex/COMPLEX_COLOR-constant.html">COMPLEX_COLOR</a></li> |
| <li><a href="ex/deprecated-constant.html">deprecated</a></li> |
| <li><a href="ex/incorrectDocReference-constant.html">incorrectDocReference</a></li> |
| <li><a href="ex/incorrectDocReferenceFromEx-constant.html">incorrectDocReferenceFromEx</a></li> |
| <li><a href="ex/MY_CAT-constant.html">MY_CAT</a></li> |
| <li><a href="ex/PRETTY_COLORS-constant.html">PRETTY_COLORS</a></li> |
| |
| <li class="section-title"><a href="ex/ex-library.html#typedefs">Typedefs</a></li> |
| <li><a href="ex/ParameterizedTypedef.html">ParameterizedTypedef</a></li> |
| <li><a href="ex/processMessage.html">processMessage</a></li> |
| |
| <li class="section-title"><a href="ex/ex-library.html#properties">Properties</a></li> |
| <li><a class="deprecated" href="ex/deprecatedField.html">deprecatedField</a></li> |
| <li><a class="deprecated" href="ex/deprecatedGetter.html">deprecatedGetter</a></li> |
| <li><a class="deprecated" href="ex/deprecatedSetter.html">deprecatedSetter</a></li> |
| <li><a href="ex/number.html">number</a></li> |
| <li><a href="ex/y.html">y</a></li> |
| |
| <li class="section-title"><a href="ex/ex-library.html#functions">Functions</a></li> |
| <li><a href="ex/function1.html">function1</a></li> |
| <li><a href="ex/genericFunction.html">genericFunction</a></li> |
| |
| <li class="section-title"><a href="ex/ex-library.html#enums">Enums</a></li> |
| <li><a href="ex/Animal-class.html">Animal</a></li> |
| |
| <li class="section-title"><a href="ex/ex-library.html#classes">Classes</a></li> |
| <li><a href="ex/Apple-class.html">Apple</a></li> |
| <li><a href="ex/aThingToDo-class.html">aThingToDo</a></li> |
| <li><a href="ex/B-class.html">B</a></li> |
| <li><a href="ex/Cat-class.html">Cat</a></li> |
| <li><a href="ex/CatString-class.html">CatString</a></li> |
| <li><a href="ex/ConstantCat-class.html">ConstantCat</a></li> |
| <li><a href="fake/Cool-class.html">Cool</a></li> |
| <li><a href="ex/Deprecated-class.html">Deprecated</a></li> |
| <li><a href="ex/Dog-class.html">Dog</a></li> |
| <li><a href="ex/E-class.html">E</a></li> |
| <li><a href="ex/F-class.html">F</a></li> |
| <li><a href="ex/ForAnnotation-class.html">ForAnnotation</a></li> |
| <li><a href="ex/HasAnnotation-class.html">HasAnnotation</a></li> |
| <li><a href="ex/Helper-class.html">Helper</a></li> |
| <li><a href="ex/Klass-class.html">Klass</a></li> |
| <li><a href="ex/PublicClassExtendsPrivateClass-class.html">PublicClassExtendsPrivateClass</a></li> |
| <li><a href="ex/PublicClassImplementsPrivateInterface-class.html">PublicClassImplementsPrivateInterface</a></li> |
| <li><a href="ex/ShapeType-class.html">ShapeType</a></li> |
| <li><a href="ex/SpecializedDuration-class.html">SpecializedDuration</a></li> |
| <li><a href="ex/WithGeneric-class.html">WithGeneric</a></li> |
| <li><a href="ex/WithGenericSub-class.html">WithGenericSub</a></li> |
| |
| <li class="section-title"><a href="ex/ex-library.html#exceptions">Exceptions</a></li> |
| <li><a href="ex/MyError-class.html">MyError</a></li> |
| <li><a href="ex/MyErrorImplements-class.html">MyErrorImplements</a></li> |
| <li><a href="ex/MyException-class.html">MyException</a></li> |
| <li><a href="ex/MyExceptionImplements-class.html">MyExceptionImplements</a></li> |
| </ol> |
| </div> |
| |
| <div class="col-xs-12 col-sm-9 col-md-8 main-content"> |
| |
| |
| <section> |
| <dl class="dl-horizontal"> |
| <dt>Inheritance</dt> |
| <dd><ul class="gt-separated dark clazz-relationships"> |
| <li>Object</li> |
| <li>StringBuffer</li> |
| <li>CatString</li> |
| </ul></dd> |
| |
| |
| |
| |
| </dl> |
| </section> |
| |
| |
| |
| |
| <section class="summary offset-anchor" id="constructors"> |
| <h2>Constructors</h2> |
| |
| <dl class="constructor-summary-list"> |
| <dt id="CatString" class="callable"> |
| <span class="name"><a href="ex/CatString/CatString.html">CatString</a></span><span class="signature">()</span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| </dl> |
| </section> |
| |
| <section class="summary offset-anchor inherited" id="instance-properties"> |
| <h2>Properties</h2> |
| |
| <dl class="properties"> |
| <dt id="hashCode" class="property inherited"> |
| <span class="name"><a href="ex/CatString/hashCode.html">hashCode</a></span> |
| <span class="signature">→ int</span> |
| </dt> |
| <dd class="inherited"> |
| <p>The hash code for this object.</p> |
| <div class="features">read-only, inherited</div> |
| </dd> |
| <dt id="isEmpty" class="property inherited"> |
| <span class="name"><a href="ex/CatString/isEmpty.html">isEmpty</a></span> |
| <span class="signature">→ bool</span> |
| </dt> |
| <dd class="inherited"> |
| <p>Returns whether the buffer is empty. This is a constant-time operation.</p> |
| <div class="features">read-only, inherited</div> |
| </dd> |
| <dt id="isNotEmpty" class="property inherited"> |
| <span class="name"><a href="ex/CatString/isNotEmpty.html">isNotEmpty</a></span> |
| <span class="signature">→ bool</span> |
| </dt> |
| <dd class="inherited"> |
| <p>Returns whether the buffer is not empty. This is a constant-time |
| operation.</p> |
| <div class="features">read-only, inherited</div> |
| </dd> |
| <dt id="length" class="property inherited"> |
| <span class="name"><a href="ex/CatString/length.html">length</a></span> |
| <span class="signature">→ int</span> |
| </dt> |
| <dd class="inherited"> |
| <p>Returns the length of the content that has been accumulated so far. |
| This is a constant-time operation.</p> |
| <div class="features">read-only, inherited</div> |
| </dd> |
| <dt id="runtimeType" class="property inherited"> |
| <span class="name"><a href="ex/CatString/runtimeType.html">runtimeType</a></span> |
| <span class="signature">→ Type</span> |
| </dt> |
| <dd class="inherited"> |
| <p>A representation of the runtime type of the object.</p> |
| <div class="features">read-only, inherited</div> |
| </dd> |
| </dl> |
| </section> |
| |
| <section class="summary offset-anchor inherited" id="operators"> |
| <h2>Operators</h2> |
| <dl class="callables"> |
| <dt id="operator ==" class="callable inherited"> |
| <span class="name"><a href="ex/CatString/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="parameter-name">other</span></span>) |
| <span class="returntype parameter">→ bool</span> |
| </span> |
| </dt> |
| <dd class="inherited"> |
| <p>The equality operator.</p> |
| <div class="features">inherited</div> |
| </dd> |
| </dl> |
| </section> |
| |
| <section class="summary offset-anchor inherited" id="instance-methods"> |
| <h2>Methods</h2> |
| <dl class="callables"> |
| <dt id="clear" class="callable inherited"> |
| <span class="name"><a href="ex/CatString/clear.html">clear</a></span><span class="signature">(<wbr>) |
| <span class="returntype parameter">→ void</span> |
| </span> |
| </dt> |
| <dd class="inherited"> |
| <p>Clears the string buffer.</p> |
| <div class="features">inherited</div> |
| </dd> |
| <dt id="noSuchMethod" class="callable inherited"> |
| <span class="name"><a href="ex/CatString/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation">Invocation</span> <span class="parameter-name">invocation</span></span>) |
| <span class="returntype parameter">→ dynamic</span> |
| </span> |
| </dt> |
| <dd class="inherited"> |
| <p>Invoked when a non-existent method or property is accessed.</p> |
| <div class="features">inherited</div> |
| </dd> |
| <dt id="toString" class="callable inherited"> |
| <span class="name"><a href="ex/CatString/toString.html">toString</a></span><span class="signature">(<wbr>) |
| <span class="returntype parameter">→ String</span> |
| </span> |
| </dt> |
| <dd class="inherited"> |
| <p>Returns the contents of buffer as a concatenated string.</p> |
| <div class="features">inherited</div> |
| </dd> |
| <dt id="write" class="callable inherited"> |
| <span class="name"><a href="ex/CatString/write.html">write</a></span><span class="signature">(<wbr><span class="parameter" id="write-param-obj"><span class="type-annotation">Object</span> <span class="parameter-name">obj</span></span>) |
| <span class="returntype parameter">→ void</span> |
| </span> |
| </dt> |
| <dd class="inherited"> |
| <p>Adds the contents of <code>obj</code>, converted to a string, to the buffer.</p> |
| <div class="features">inherited</div> |
| </dd> |
| <dt id="writeAll" class="callable inherited"> |
| <span class="name"><a href="ex/CatString/writeAll.html">writeAll</a></span><span class="signature">(<wbr><span class="parameter" id="writeAll-param-objects"><span class="type-annotation">Iterable</span> <span class="parameter-name">objects</span>, [</span> <span class="parameter" id="writeAll-param-separator"><span class="type-annotation">String</span> <span class="parameter-name">separator</span> = <span class="default-value">""</span></span> ]) |
| <span class="returntype parameter">→ void</span> |
| </span> |
| </dt> |
| <dd class="inherited"> |
| <p>Iterates over the given <code>objects</code> and <code>write</code>s them in sequence.</p> |
| <div class="features">inherited</div> |
| </dd> |
| <dt id="writeCharCode" class="callable inherited"> |
| <span class="name"><a href="ex/CatString/writeCharCode.html">writeCharCode</a></span><span class="signature">(<wbr><span class="parameter" id="writeCharCode-param-charCode"><span class="type-annotation">int</span> <span class="parameter-name">charCode</span></span>) |
| <span class="returntype parameter">→ void</span> |
| </span> |
| </dt> |
| <dd class="inherited"> |
| <p>Adds the string representation of <code>charCode</code> to the buffer.</p> |
| <div class="features">inherited</div> |
| </dd> |
| <dt id="writeln" class="callable inherited"> |
| <span class="name"><a href="ex/CatString/writeln.html">writeln</a></span><span class="signature">(<wbr>[<span class="parameter" id="writeln-param-obj"><span class="type-annotation">Object</span> <span class="parameter-name">obj</span> = <span class="default-value">""</span></span> ]) |
| <span class="returntype parameter">→ void</span> |
| </span> |
| </dt> |
| <dd class="inherited"> |
| <p>Converts <code>obj</code> to a String by invoking <code>Object.toString</code> and |
| adds the result to <code>this</code>, followed by a newline.</p> |
| <div class="features">inherited</div> |
| </dd> |
| </dl> |
| </section> |
| |
| </div> <!-- /.main-content --> |
| |
| <div class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right"> |
| <h5>CatString</h5> |
| <ol> |
| |
| |
| |
| <li class="section-title"><a href="ex/CatString-class.html#constructors">Constructors</a></li> |
| <li><a href="ex/CatString/CatString.html">CatString</a></li> |
| |
| <li class="section-title inherited"> |
| <a href="ex/CatString-class.html#instance-properties">Properties</a> |
| </li> |
| <li class="inherited"><a href="ex/CatString/hashCode.html">hashCode</a></li> |
| <li class="inherited"><a href="ex/CatString/isEmpty.html">isEmpty</a></li> |
| <li class="inherited"><a href="ex/CatString/isNotEmpty.html">isNotEmpty</a></li> |
| <li class="inherited"><a href="ex/CatString/length.html">length</a></li> |
| <li class="inherited"><a href="ex/CatString/runtimeType.html">runtimeType</a></li> |
| |
| <li class="section-title inherited"><a href="ex/CatString-class.html#operators">Operators</a></li> |
| <li class="inherited"><a href="ex/CatString/operator_equals.html">operator ==</a></li> |
| |
| <li class="section-title inherited"><a href="ex/CatString-class.html#instance-methods">Methods</a></li> |
| <li class="inherited"><a href="ex/CatString/clear.html">clear</a></li> |
| <li class="inherited"><a href="ex/CatString/noSuchMethod.html">noSuchMethod</a></li> |
| <li class="inherited"><a href="ex/CatString/toString.html">toString</a></li> |
| <li class="inherited"><a href="ex/CatString/write.html">write</a></li> |
| <li class="inherited"><a href="ex/CatString/writeAll.html">writeAll</a></li> |
| <li class="inherited"><a href="ex/CatString/writeCharCode.html">writeCharCode</a></li> |
| <li class="inherited"><a href="ex/CatString/writeln.html">writeln</a></li> |
| </ol> |
| </div><!--/.sidebar-offcanvas--> |
| |
| </div> <!-- row --> |
| </div> <!-- container --> |
| |
| <footer> |
| <div class="container-fluid"> |
| <div class="container"> |
| <p class="text-center"> |
| <span class="no-break"> |
| test_package 0.0.1 |
| </span> |
| • |
| <span class="no-break"> |
| <a href="https://www.dartlang.org"> |
| <img src="static-assets/favicon.png" alt="Dart" title="Dart" width="16" height="16"> |
| </a> |
| </span> |
| • |
| <span class="copyright no-break"> |
| <a href="http://creativecommons.org/licenses/by-sa/4.0/">cc license</a> |
| </span> |
| </p> |
| </div> |
| </div> |
| </footer> |
| |
| <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> |
| <script src="static-assets/typeahead.bundle.min.js"></script> |
| <script src="static-assets/prettify.js"></script> |
| <script src="static-assets/URI.js"></script> |
| <script src="static-assets/script.js"></script> |
| <!-- Do not remove placeholder --> |
| <!-- Footer Placeholder --> |
| |
| </body> |
| |
| </html> |