summaryrefslogtreecommitdiff
path: root/gee/bidiriterator.vala
diff options
context:
space:
mode:
Diffstat (limited to 'gee/bidiriterator.vala')
-rw-r--r--gee/bidiriterator.vala8
1 files changed, 8 insertions, 0 deletions
diff --git a/gee/bidiriterator.vala b/gee/bidiriterator.vala
index 03d8ce2..908dbb6 100644
--- a/gee/bidiriterator.vala
+++ b/gee/bidiriterator.vala
@@ -23,6 +23,7 @@
/**
* A bi-directional iterator.
*/
+[GenericAccessors]
public interface Gee.BidirIterator<G> : Gee.Iterator<G> {
/**
* Rewinds to the previous element in the iteration.
@@ -39,6 +40,13 @@ public interface Gee.BidirIterator<G> : Gee.Iterator<G> {
public abstract bool has_previous ();
/**
+ * Rewinds to the first element in the iteration.
+ *
+ * @return ``true`` if the iterator has a first element
+ */
+ public abstract bool first ();
+
+ /**
* Advances to the last element in the iteration.
*
* @return ``true`` if the iterator has a last element