We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98963ec commit 19ff271Copy full SHA for 19ff271
examples/gee-0.8/Gee.ArrayQueue.vala
@@ -0,0 +1,9 @@
1
+void main () {
2
+ var queue = new Gee.ArrayQueue<string> ();
3
+ queue.offer ("hello");
4
+ queue.offer ("this");
5
+ queue.offer ("time");
6
+
7
+ foreach (string s in queue)
8
+ print ("%s\n", s);
9
+}
examples/gee-0.8/gee-0.8.valadoc.examples
@@ -1,4 +1,10 @@
<examples>
+ <example>
+ <title>Demonstrate the use of ArrayQueue</title>
+ <file>Gee.ArrayQueue.vala</file>
+ <compile>valac --pkg gee-0.8 Gee.ArrayQueue.vala</compile>
+ <node>Gee.ArrayQueue</node>
+ </example>
<example>
<title>Find the length of the longest string in a set</title>
10
<file>Gee.Traversable.fold.vala</file>
0 commit comments