X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=base%2Fruntime%2Forg.argeo.util%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Futil%2Ftabular%2FTabularRowIterator.java;fp=base%2Fruntime%2Forg.argeo.util%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Futil%2Ftabular%2FTabularRowIterator.java;h=137c520810ae43bbfe798c6d6e355278df42687c;hb=5e65b1c0f228622aebfe03b23706cb6a02a5a96a;hp=0000000000000000000000000000000000000000;hpb=53fcc32b8512c247d04781b4df1086a7a80b6c74;p=lgpl%2Fargeo-commons.git diff --git a/base/runtime/org.argeo.util/src/main/java/org/argeo/util/tabular/TabularRowIterator.java b/base/runtime/org.argeo.util/src/main/java/org/argeo/util/tabular/TabularRowIterator.java new file mode 100644 index 000000000..137c52081 --- /dev/null +++ b/base/runtime/org.argeo.util/src/main/java/org/argeo/util/tabular/TabularRowIterator.java @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2007-2012 Mathieu Baudier + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.argeo.util.tabular; + +import java.util.Iterator; + +/** Navigation of rows */ +public interface TabularRowIterator extends Iterator { + /** + * Current row number, has to be incremented by each call to next() ; starts at 0, will + * therefore be 1 for the first row returned. + */ + public Long getCurrentRowNumber(); +}