Graphene Selenium: API 2.0.0.Alpha1

org.jboss.arquillian.ajocado.locator.element
Class AbstractIterableLocator.ElementIterator

java.lang.Object
  extended by org.jboss.arquillian.ajocado.locator.element.AbstractIterableLocator.ElementIterator
All Implemented Interfaces:
Iterator<T>
Enclosing class:
AbstractIterableLocator<T extends IterableLocator<T>>

public class AbstractIterableLocator.ElementIterator
extends Object
implements Iterator<T>

The iterator over elements given by IterableLocator.


Constructor Summary
AbstractIterableLocator.ElementIterator()
           Instantiates a new element iterator.
 
Method Summary
 boolean hasNext()
           
 T next()
           
 void remove()
          Unsupported for this Iterator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractIterableLocator.ElementIterator

public AbstractIterableLocator.ElementIterator()

Instantiates a new element iterator.

Set iteration index to first element and then try to found actual count for given elements.

Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<T extends IterableLocator<T>>

next

public T next()
Specified by:
next in interface Iterator<T extends IterableLocator<T>>

remove

public void remove()
Unsupported for this Iterator.

Specified by:
remove in interface Iterator<T extends IterableLocator<T>>
Throws:
UnsupportedOperationException - in every call

Graphene Selenium: API 2.0.0.Alpha1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.