Package com.codeborne.selenide.impl
Class SelenideElementIterator
- java.lang.Object
-
- com.codeborne.selenide.impl.SelenideElementIterator
-
- All Implemented Interfaces:
java.util.Iterator<SelenideElement>
- Direct Known Subclasses:
SelenideElementListIterator
public class SelenideElementIterator extends java.lang.Object implements java.util.Iterator<SelenideElement>
-
-
Field Summary
Fields Modifier and Type Field Description protected WebElementsCollectioncollectionprotected intindex
-
Constructor Summary
Constructors Constructor Description SelenideElementIterator(WebElementsCollection collection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()SelenideElementnext()voidremove()
-
-
-
Field Detail
-
collection
protected final WebElementsCollection collection
-
index
protected int index
-
-
Constructor Detail
-
SelenideElementIterator
public SelenideElementIterator(WebElementsCollection collection)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<SelenideElement>
-
next
public SelenideElement next()
- Specified by:
nextin interfacejava.util.Iterator<SelenideElement>
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<SelenideElement>
-
-