]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - basic/runtime/org.argeo.basic.nodeps/src/main/java/org/argeo/util/tabular/TabularRowIterator.java
Introduce Tabular Content
[lgpl/argeo-commons.git] / basic / runtime / org.argeo.basic.nodeps / src / main / java / org / argeo / util / tabular / TabularRowIterator.java
diff --git a/basic/runtime/org.argeo.basic.nodeps/src/main/java/org/argeo/util/tabular/TabularRowIterator.java b/basic/runtime/org.argeo.basic.nodeps/src/main/java/org/argeo/util/tabular/TabularRowIterator.java
new file mode 100644 (file)
index 0000000..e98a8fb
--- /dev/null
@@ -0,0 +1,12 @@
+package org.argeo.util.tabular;
+
+import java.util.Iterator;
+
+/** Navigation of rows */
+public interface TabularRowIterator extends Iterator<TabularRow> {
+       /**
+        * Current line number, incremented by each call to next(), starts at 0, but
+        * will therefore be 1 for the first row returned.
+        */
+       public Long getCurrentLineNumber();
+}