VersionIterator.java :  » 6.0-JDK-Modules » jsr-283 » javax » jcr » version » Java Open Source

Java Open Source » 6.0 JDK Modules » jsr 283 
jsr 283 » javax » jcr » version » VersionIterator.java
/*
 * Copyright 2006 Day Management AG, Switzerland. All rights reserved.
 */
package javax.jcr.version;

import javax.jcr.RangeIterator;

/**
 * Allows easy iteration through a list of <code>Version</code>s objects
 * with <code>nextVersion</code> as well as a <code>skip</code> method inherited from
 * <code>RangeIterator</code>.
 *
 */
public interface VersionIterator extends RangeIterator {

     /**
      * Returns the next <code>Version</code> in the iteration.
      *
      * @return the next <code>Version</code> in the iteration.
      * @throws java.util.NoSuchElementException if iteration has no more <code>Version</code>s.
     */
    public Version nextVersion();
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.