aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc
diff options
context:
space:
mode:
authorbeaver <[email protected]>2015-03-25 18:03:26 +0300
committerHans Bolinder <[email protected]>2015-05-18 09:04:52 +0200
commitddc4e717df1da722682b6ccdbf152a6b7e15f378 (patch)
tree4d88c65a1ffcfe3bcb03b52ba638844297eb2292 /lib/stdlib/doc
parent9a81b28598fadc44bf506354c9227e41aac786f6 (diff)
downloadotp-ddc4e717df1da722682b6ccdbf152a6b7e15f378.tar.gz
otp-ddc4e717df1da722682b6ccdbf152a6b7e15f378.tar.bz2
otp-ddc4e717df1da722682b6ccdbf152a6b7e15f378.zip
stdlib: Add gb_trees:iterator_from
Diffstat (limited to 'lib/stdlib/doc')
-rw-r--r--lib/stdlib/doc/src/gb_trees.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/gb_trees.xml b/lib/stdlib/doc/src/gb_trees.xml
index b2f237e1d7..82167e1083 100644
--- a/lib/stdlib/doc/src/gb_trees.xml
+++ b/lib/stdlib/doc/src/gb_trees.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>2001</year><year>2014</year>
+ <year>2001</year><year>2015</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -183,6 +183,17 @@
</desc>
</func>
<func>
+ <name name="iterator_from" arity="2"/>
+ <fsummary>Return an iterator for a tree starting from specified key</fsummary>
+ <desc>
+ <p>Returns an iterator that can be used for traversing the
+ entries of <c><anno>Tree</anno></c>; see <c>next/1</c>.
+ The difference as compared to the iterator returned by
+ <c>iterator/1</c> is that the first key greater than
+ or equal to <c><anno>Key</anno></c> is returned.</p>
+ </desc>
+ </func>
+ <func>
<name name="keys" arity="1"/>
<fsummary>Return a list of the keys in a tree</fsummary>
<desc>