Author: schor
Date: Fri May  6 18:29:08 2016
New Revision: 1742583

URL: http://svn.apache.org/viewvc?rev=1742583&view=rev
Log:
[UIMA-4674] support for default iterator impl that skips redundant has-next test

Modified:
    
uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/FSIterator.java

Modified: 
uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/FSIterator.java
URL: 
http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/FSIterator.java?rev=1742583&r1=1742582&r2=1742583&view=diff
==============================================================================
--- 
uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/FSIterator.java
 (original)
+++ 
uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/FSIterator.java
 Fri May  6 18:29:08 2016
@@ -114,6 +114,11 @@ public interface FSIterator<T extends Fe
   void moveToPrevious();
 
   /**
+   * version of moveToPrevious which bypasses the isValid check - call only if 
you've just done this check yourself
+   */
+  void moveToPreviousNvc();
+
+  /**
    * Move the iterator to the first element. The iterator will be valid iff 
the underlying
    * collection is non-empty.  Allowed even if the underlying indexes being 
iterated over were modified.
    */


Reply via email to