cvs: phpdoc-ja /reference/spl splheap.xml splmaxheap.xml splminheap.xml /reference/spl/splheap compare.xml construct.xml count.xml current.xml
extract.xml insert.xml isempty.xml key.xml next.xml recoverfromcorruption.xml rewind.xml top.xml valid.xml /reference/spl/splmaxheap compare.xml
/reference/spl/splminheap compare.xml

From: Date: Sat, 17 May 2008 11:53:16 +0000
Subject: cvs: phpdoc-ja /reference/spl splheap.xml splmaxheap.xml splminheap.xml /reference/spl/splheap compare.xml construct.xml count.xml current.xml
extract.xml insert.xml isempty.xml key.xml next.xml recoverfromcorruption.xml rewind.xml top.xml valid.xml /reference/spl/splmaxheap compare.xml
/reference/spl/splminheap compare.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-2333@lists.php.net to get a copy of this message
takagi Sat May 17 11:53:16 2008 UTC Added files: /phpdoc-ja/reference/spl/splminheap compare.xml /phpdoc-ja/reference/spl/splmaxheap compare.xml /phpdoc-ja/reference/spl/splheap valid.xml top.xml rewind.xml recoverfromcorruption.xml next.xml key.xml isempty.xml insert.xml extract.xml current.xml count.xml construct.xml compare.xml /phpdoc-ja/reference/spl splminheap.xml splmaxheap.xml splheap.xml Log: added Japanese translation.

http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splminheap/compare.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splminheap/compare.xml +++ phpdoc-ja/reference/spl/splminheap/compare.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="splminheap.compare" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplMinHeap::compare</refname> <refpurpose>要素を比較し、ヒープ内の適切な位置に置く</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>SplMinHeap::compare</methodname> <methodparam><type>mixed</type><parameter>value1</parameter></methodparam> <methodparam><type>mixed</type><parameter>value2</parameter></methodparam> </methodsynopsis> <para> <parameter>value1</parameter> と <parameter>value2</parameter> を比較します。 </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>value1</parameter></term> <listitem> <para> 比較したい最初のノード。 </para> </listitem> </varlistentry> <varlistentry> <term><parameter>value2</parameter></term> <listitem> <para> 比較したい 2 番目のノード。 </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> 比較結果を返します。<parameter>value1</parameter> が <parameter>value2</parameter> より大きい場合は正の整数値、等しい場合は 0、 小さい場合は負の整数値となります。 </para> <note> <para> 同一の値を持つ複数の要素をヒープ内に保持することはおすすめしません。 そうすると、ヒープ内の相対位置がはっきりしなくなってしまいます。 </para> </note> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splmaxheap/compare.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splmaxheap/compare.xml +++ phpdoc-ja/reference/spl/splmaxheap/compare.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="splmaxheap.compare" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplMaxHeap::compare</refname> <refpurpose>要素を比較し、ヒープ内の適切な位置に置く</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>SplMaxHeap::compare</methodname> <methodparam><type>mixed</type><parameter>value1</parameter></methodparam> <methodparam><type>mixed</type><parameter>value2</parameter></methodparam> </methodsynopsis> <para> <parameter>value1</parameter> と <parameter>value2</parameter> を比較します。 </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>value1</parameter></term> <listitem> <para> 比較したい最初のノード。 </para> </listitem> </varlistentry> <varlistentry> <term><parameter>value2</parameter></term> <listitem> <para> 比較したい 2 番目のノード。 </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> 比較結果を返します。<parameter>value1</parameter> が <parameter>value2</parameter> より大きい場合は正の整数値、等しい場合は 0、 小さい場合は負の整数値となります。 </para> <note> <para> 同一の値を持つ複数の要素をヒープ内に保持することはおすすめしません。 そうすると、ヒープ内の相対位置がはっきりしなくなってしまいます。 </para> </note> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splheap/valid.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splheap/valid.xml +++ phpdoc-ja/reference/spl/splheap/valid.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="splheap.valid" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplHeap::valid</refname> <refpurpose>ヒープにまだノードがあるかどうかを調べる</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>SplHeap::valid</methodname> <void/> </methodsynopsis> <para> ヒープにまだノードがあるかどうかを調べます。 </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> ヒープにまだノードが含まれる場合に &true;、 そうでない場合に &false; を返します。 </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splheap/top.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splheap/top.xml +++ phpdoc-ja/reference/spl/splheap/top.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="splheap.top" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplHeap::top</refname> <refpurpose>ヒープの先頭のノードを取り出す</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>mixed</type><methodname>SplHeap::top</methodname> <void /> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> 先頭のノードの値を返します。 </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splheap/rewind.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splheap/rewind.xml +++ phpdoc-ja/reference/spl/splheap/rewind.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry xml:id="splheap.rewind" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplHeap::rewind</refname> <refpurpose>イテレータを先頭に巻き戻す (何もしない)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>SplHeap::rewind</methodname> <void/> </methodsynopsis> <para> これは、イテレータを先頭に巻き戻します。ヒープの場合は何もしません。 というのもイテレータは仮想的なものであり、 実際はヒープの先頭から動くことがないからです。 </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splheap/recoverfromcorruption.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splheap/recoverfromcorruption.xml +++ phpdoc-ja/reference/spl/splheap/recoverfromcorruption.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="splheap.recoverfromcorruption" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplHeap::recoverFromCorruption</refname> <refpurpose>破壊されたヒープを復旧し、それ以降の操作をできるようにする</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>SplHeap::recoverFromCorruption</methodname> <void/> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splheap/next.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splheap/next.xml +++ phpdoc-ja/reference/spl/splheap/next.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="splheap.next" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplHeap::next</refname> <refpurpose>次のノードに移動する</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>SplHeap::next</methodname> <void/> </methodsynopsis> <para> ヒープから先頭のノードを取り出します。 </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splheap/key.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splheap/key.xml +++ phpdoc-ja/reference/spl/splheap/key.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="splheap.key" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplHeap::key</refname> <refpurpose>現在のノードのインデックスを返す</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>mixed</type><methodname>SplHeap::key</methodname> <void/> </methodsynopsis> <para> この関数は、現在のノードのインデックスを返します。 </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> 現在のノードのインデックスを返します。 </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splheap/isempty.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splheap/isempty.xml +++ phpdoc-ja/reference/spl/splheap/isempty.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="splheap.isempty" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplHeap::isEmpty</refname> <refpurpose>ヒープが空かどうかを調べる</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>SplHeap::isEmpty</methodname> <void/> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> ヒープが空かどうかを返します。 </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splheap/insert.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splheap/insert.xml +++ phpdoc-ja/reference/spl/splheap/insert.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="splheap.insert" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplHeap::insert</refname> <refpurpose>ヒープに要素を挿入する</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>SplHeap::insert</methodname> <methodparam><type>mixed</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> <parameter>value</parameter> をヒープに挿入します。 </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>value</parameter></term> <listitem> <para> 挿入する値。 </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splheap/extract.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splheap/extract.xml +++ phpdoc-ja/reference/spl/splheap/extract.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="splheap.extract" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplHeap::extract</refname> <refpurpose>ヒープの先頭からノードを取り出す</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>mixed</type><methodname>SplHeap::extract</methodname> <void /> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> 取り出したノードの値を返します。 </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splheap/current.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splheap/current.xml +++ phpdoc-ja/reference/spl/splheap/current.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="splheap.current" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplHeap::current</refname> <refpurpose>イテレータが指す現在のノードを返す</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>mixed</type><methodname>SplHeap::current</methodname> <void/> </methodsynopsis> <para> 現在のノードを取得します。 </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> 現在のノードの値を返します。 </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splheap/count.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splheap/count.xml +++ phpdoc-ja/reference/spl/splheap/count.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="splheap.count" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplHeap::count</refname> <refpurpose>ヒープ内の要素数を数える</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>SplHeap::count</methodname> <void/> </methodsynopsis> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> ヒープ内の要素数を返します。 </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splheap/construct.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splheap/construct.xml +++ phpdoc-ja/reference/spl/splheap/construct.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="splheap.construct" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplHeap::__construct</refname> <refpurpose>新しい空のヒープを作成する</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <constructorsynopsis> <methodname>SplHeap::__construct</methodname> <void /> </constructorsynopsis> <para> 新しい空のヒープを作成します。 </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splheap/compare.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splheap/compare.xml +++ phpdoc-ja/reference/spl/splheap/compare.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry xml:id="splheap.compare" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplHeap::compare</refname> <refpurpose>要素を比較し、ヒープ内の適切な位置に置く</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>abstract</modifier><type>int</type><methodname>SplHeap::compare</methodname> <methodparam><type>mixed</type><parameter>value1</parameter></methodparam> <methodparam><type>mixed</type><parameter>value2</parameter></methodparam> </methodsynopsis> <para> <parameter>value1</parameter> と <parameter>value2</parameter> を比較します。 </para> <warning> <para> <methodname>SplHeap::compare</methodname> 内で例外がスローされると、ヒープが壊れてしまいブロックされた状態になることがあります。 <methodname>SplHeap::recoverFromCorruption</methodname> をコールすればブロック状態を解除することができます。 しかし、適切な場所に配置されていない要素が出てくることもあり、 ヒープの性質が失われてしまいます。 </para> </warning> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>value1</parameter></term> <listitem> <para> 比較したい最初のノード。 </para> </listitem> </varlistentry> <varlistentry> <term><parameter>value2</parameter></term> <listitem> <para> 比較したい 2 番目のノード。 </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> 比較結果を返します。<parameter>value1</parameter> が <parameter>value2</parameter> より大きい場合は正の整数値、等しい場合は 0、 小さい場合は負の整数値となります。 </para> <note> <para> 同一の値を持つ複数の要素をヒープ内に保持することはおすすめしません。 そうすると、ヒープ内の相対位置がはっきりしなくなってしまいます。 </para> </note> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splminheap.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splminheap.xml +++ phpdoc-ja/reference/spl/splminheap.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <reference xml:id="class.splminheap" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>SplMinHeap クラス</title> <titleabbrev>SplMinHeap</titleabbrev> <partintro> <!-- {{{ splminheap intro --> <section xml:id="splminheap.intro"> &reftitle.intro; <para> SplMinHeap クラスは、ヒープの主要な機能を提供し、最小値を先頭に保ちます。 </para> </section> <!-- }}} --> <section xml:id="splminheap.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SplMinHeap</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SplMinHeap</classname> </ooclass> <ooclass> <modifier>extends</modifier> <classname>SplHeap</classname> </ooclass> <oointerface> <interfacename>Iterator</interfacename> </oointerface> <oointerface> <interfacename>Countable</interfacename> </oointerface> </classsynopsisinfo> <!-- }}} --> <!-- {{{ If the property is documented below (xml:id=splminheap.props) use this <classsynopsisinfo role="comment">Properties</classsynopsisinfo> <fieldsynopsis> <modifier>public</modifier> <type>string</type> <varname linkend="splminheap.props.name">name</varname> </fieldsynopsis> }}} --> <classsynopsisinfo role="comment">メソッド</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splminheap')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> <classsynopsisinfo role="comment">継承したメソッド</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splheap')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> </section> <!-- {{{ splminheap properties <section xml:id="splminheap.props"> &reftitle.properties; <variablelist> <varlistentry xml:id="splminheap.props.name"> <term><varname>name</varname></term> <listitem> <para>Prop description</para> </listitem> </varlistentry> </variablelist> </section> }}} --> </partintro> &reference.spl.entities.splminheap; </reference> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splmaxheap.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splmaxheap.xml +++ phpdoc-ja/reference/spl/splmaxheap.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <reference xml:id="class.splmaxheap" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>SplMaxHeap クラス</title> <titleabbrev>SplMaxHeap</titleabbrev> <partintro> <!-- {{{ splmaxheap intro --> <section xml:id="splmaxheap.intro"> &reftitle.intro; <para> SplMaxHeap クラスは、ヒープの主要な機能を提供し、最大値を先頭に保ちます。 </para> </section> <!-- }}} --> <section xml:id="splmaxheap.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SplMaxHeap</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SplMaxHeap</classname> </ooclass> <ooclass> <modifier>extends</modifier> <classname>SplHeap</classname> </ooclass> <oointerface> <interfacename>Iterator</interfacename> </oointerface> <oointerface> <interfacename>Countable</interfacename> </oointerface> </classsynopsisinfo> <!-- }}} --> <!-- {{{ If the property is documented below (xml:id=splmaxheap.props) use this <classsynopsisinfo role="comment">Properties</classsynopsisinfo> <fieldsynopsis> <modifier>public</modifier> <type>string</type> <varname linkend="splmaxheap.props.name">name</varname> </fieldsynopsis> }}} --> <classsynopsisinfo role="comment">メソッド</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splmaxheap')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> <classsynopsisinfo role="comment">継承したメソッド</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splheap')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> </section> <!-- {{{ splmaxheap properties <section xml:id="splmaxheap.props"> &reftitle.properties; <variablelist> <varlistentry xml:id="splmaxheap.props.name"> <term><varname>name</varname></term> <listitem> <para>Prop description</para> </listitem> </varlistentry> </variablelist> </section> }}} --> </partintro> &reference.spl.entities.splmaxheap; </reference> <!-- 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 --> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/spl/splheap.xml?view=markup&rev=1.1 Index: phpdoc-ja/reference/spl/splheap.xml +++ phpdoc-ja/reference/spl/splheap.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <reference xml:id="class.splheap" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>SplHeap クラス</title> <titleabbrev>SplHeap</titleabbrev> <partintro> <!-- {{{ splheap intro --> <section xml:id="splheap.intro"> &reftitle.intro; <para> SplHeap クラスは、ヒープの主要な機能を提供します。 </para> </section> <!-- }}} --> <section xml:id="splheap.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SplHeap</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <modifier>abstract</modifier><classname>SplHeap</classname> </ooclass> <oointerface> <interfacename>Iterator</interfacename> </oointerface> <oointerface> <interfacename>Countable</interfacename> </oointerface> </classsynopsisinfo> <!-- }}} --> <!-- {{{ If the property is documented below (xml:id=splheap.props) use this <classsynopsisinfo role="comment">Properties</classsynopsisinfo> <fieldsynopsis> <modifier>public</modifier> <type>string</type> <varname linkend="splheap.props.name">name</varname> </fieldsynopsis> }}} --> <classsynopsisinfo role="comment">メソッド</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splheap')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[1])" /> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splheap')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> </section> <!-- {{{ splheap properties <section xml:id="splheap.props"> &reftitle.properties; <variablelist> <varlistentry xml:id="splheap.props.name"> <term><varname>name</varname></term> <listitem> <para>Prop description</para> </listitem> </varlistentry> </variablelist> </section> }}} --> </partintro> &reference.spl.entities.splheap; </reference> <!-- 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 -->
« previous php.doc.ja (#2333) next »