cvs: phpdoc /en/reference/spl datastructures.xml
| From: | Etienne Kneuss | Date: | Mon, 12 May 2008 00:28:53 +0000 |
| Subject: | cvs: phpdoc /en/reference/spl datastructures.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1620@lists.php.net to get a copy of this message | ||
colder Mon May 12 00:28:53 2008 UTC
Added files:
/phpdoc/en/reference/spl datastructures.xml
Log:
Initial docs for SplDoublyLinkedList, SplQueue and SplStack
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/spl/datastructures.xml?view=markup&rev=1.1
Index: phpdoc/en/reference/spl/datastructures.xml
+++ phpdoc/en/reference/spl/datastructures.xml
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<appendix xml:id="spl.datastructures" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Datastructures</title>
<para>
SPL provies a set of standard datastructures. They are grouped here by their
underlying implementation which usually defines their general field of
application.
</para>
<section>
<title>Doubly Linked Lists</title>
<para>
A Doubly Linked List (DLL) is a list of nodes linked in both directions to
each others. Iterator's operations, access to both ends, addition or
removal of nodes have a cost of O(1) when the underlying structure is a DLL.
It hence provides a decent implementation for stacks and queues.
</para>
<itemizedlist>
<listitem>
<simpara><classname>SplDoublyLinkedList</classname></simpara>
<itemizedlist>
<listitem><simpara><classname>SplStack</classname></simpara></listitem>
<listitem><simpara><classname>SplQueue</classname></simpara></listitem>
</itemizedlist>
</listitem>
</itemizedlist>
</section>
</appendix>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->